Skip to content

Commit

Permalink
Fixed Docker Action
Browse files Browse the repository at this point in the history
  • Loading branch information
VG committed Sep 15, 2024
1 parent f004ff9 commit a565dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-img-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
uses: docker/build-push-action@v6
with:
context: Dockerfiles
file: ${{ matrix.dockerfile }}
file: Dockerfiles/${{ matrix.dockerfile }}
push: false
tags: ghcr.io/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
- name: Build and push Docker image
if: github.event_name == 'push'
uses: docker/build-push-action@v6
with:
context: Dockerfiles
file: ${{ matrix.dockerfile }}
file: Dockerfiles/${{ matrix.dockerfile }}
push: true
tags: ghcr.io/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
cache-from: type=registry,ref=ghcr.io/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
Expand Down

0 comments on commit a565dd6

Please sign in to comment.