ci: remove branch and PR tags from docker metadata
Drop type=ref tags for branch and PR events, keeping only SHA-based and latest tags to simplify the image tagging scheme.
This commit is contained in:
@@ -73,8 +73,6 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=sha,prefix=
|
||||
type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user