Skip to content

Commit

Permalink
Add short sha to tags if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
luborco committed Sep 30, 2024
1 parent 3bdee32 commit 8618b1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:

- uses: docker/build-push-action@v6
with:
push: true
tags: ${{ vars.ACR_URL }}/${{ github.repository }}:${{ steps.meta.outputs.tags }}
push: true
tags: ${{ vars.ACR_URL }}/${{ github.repository }}:${{ steps.meta.outputs.tags || github.sha_short }}

0 comments on commit 8618b1d

Please sign in to comment.