diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70923883f..aadb6a96a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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