Skip to content

Commit

Permalink
Make image tags nices
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <[email protected]>
  • Loading branch information
anatolinicolae committed Jan 9, 2024
1 parent 636c683 commit 0d78d22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ jobs:
maintainer=thundersquared
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=ref,enable=${{ github.ref_type != 'tag' }},suffix={{sha}},event=branch
type=ref,event=branch
type=ref,enable=${{ github.ref_type != 'tag' }},suffix=-{{sha}},event=branch
type=ref,event=tag
- name: 🛠 Build and push Docker image
Expand Down

0 comments on commit 0d78d22

Please sign in to comment.