Skip to content

Commit 5464943

Browse files
committed
Fix docker build workflow
1 parent 59a9a1b commit 5464943

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/docker-image.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
- name: Set up Docker Buildx
14+
uses: docker/setup-buildx-action@v3
15+
1316
- name: Configure AWS Credentials
1417
uses: aws-actions/configure-aws-credentials@v2
1518
with:
@@ -24,8 +27,7 @@ jobs:
2427
- name: Build and publish image
2528
uses: docker/build-push-action@v6
2629
with:
27-
context: "{defaultContext}:aws"
28-
file: docker/Dockerfile
30+
context: "{{defaultContext}}:aws"
2931
push: true
3032
tags: ${{ steps.login-ecr.outputs.registry }}/simplyblockdeploy:latest
3133
cache-from: type=gha

0 commit comments

Comments
 (0)