Skip to content

Commit

Permalink
Fix Tag naming
Browse files Browse the repository at this point in the history
  • Loading branch information
VG committed Sep 16, 2024
1 parent 224dd2a commit 7041f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-img-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ jobs:
context: Dockerfiles
file: Dockerfiles/${{ matrix.dockerfile }}
push: false
tags: ghcr.io/${{ github.actor }}/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
load: true
tags: ${{ 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: Dockerfiles/${{ matrix.dockerfile }}
push: true
load: true
tags: ghcr.io/${{ github.actor }}/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
cache-from: type=registry,ref=ghcr.io/${{ github.actor }}/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }}
cache-to: type=registry,ref=ghcr.io/${{ github.actor }}/${{ env.IMG_REPO_NAME }}:${{ env.TAG_NAME }},mode=max
Expand Down

0 comments on commit 7041f3f

Please sign in to comment.