ci: remove branch and PR tags from docker metadata
Remove branch and PR ref-based tags from the docker metadata action, keeping only SHA-based and latest tags for cleaner image tagging.
This commit is contained in:
@@ -69,8 +69,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