Skip to content

Commit a30eae0

Browse files
Merge pull request #7 from cloudbeds/emo/ci-docker-build-remote
feat: use docker/build-push/remote@v2
2 parents 5aa9d92 + e23f363 commit a30eae0

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)