Skip to content

Commit

Permalink
Use directory context properly
Browse files Browse the repository at this point in the history
  • Loading branch information
mogul committed Jul 27, 2024
1 parent 415d2ae commit 909be0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-scan-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
id: build
uses: docker/build-push-action@v6
with:
context: .
file: ./.docker/${{ matrix.image.short-name }}.Dockerfile
context: .docker
file: ${{ matrix.image.short-name }}.Dockerfile
load: true
tags: ghcr.io/${{ env.GH_REPO }}/${{ matrix.image.short-name }}

Expand Down Expand Up @@ -69,6 +69,8 @@
- name: Push Image
uses: docker/build-push-action@v6
with:
context: .docker
file: ${{ matrix.image.short-name }}.Dockerfile
push: true
tags: >
ghcr.io/${{ env.GH_REPO }}/${{ matrix.image.short-name }}:latest
Expand Down

0 comments on commit 909be0e

Please sign in to comment.