Skip to content

Commit 204b829

Browse files
committed
update build context
1 parent c860e19 commit 204b829

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ jobs:
2323
registry: ${{ env.REGISTRY }}
2424
username: ${{ github.actor }}
2525
password: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
- name: Set up Docker Buildx
29+
uses: docker/setup-buildx-action@v3
2630
- name: Build and push Docker image
2731
id: push
2832
uses: docker/build-push-action@v6
2933
with:
30-
context: "{{defaultContext:images}}"
34+
context: ./images
3135
file: slingshot-scanner
3236
push: true
3337
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

0 commit comments

Comments
 (0)