Skip to content

Commit e23f363

Browse files
committed
feat: use docker/build-push/remote@v2
This action allows us to build multi-architecture images easily by using remote builders. The remove builds will target the proper platform making the build fast and simpler as we don't need to merge intermediate images into a common docker manifest. See PEN-9
1 parent 5aa9d92 commit e23f363

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/merge-main.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ on:
1010
jobs:
1111
build-push:
1212
name: Build and push application image
13-
runs-on: ubuntu-latest
13+
runs-on: x1-core
1414
permissions:
1515
id-token: write
1616
contents: read
1717
steps:
1818

1919
- name: Build and push application image
20-
uses: cloudbeds/composite-actions/docker/build-push/aws-ecr@v2
20+
uses: cloudbeds/composite-actions/docker/build-push/remote@v2
2121
with:
22-
# image_name: Only registry path is required. AWS ECR registry address will be automatically set by composite-actions
23-
image_name: ${{ github.event.repository.name }}
24-
image_tag: ${{ github.sha }}
22+
push: true

0 commit comments

Comments
 (0)