Use semver-only tags for Docker images, drop branch/sha tags

This commit is contained in:
Kacper Kwapisz
2026-03-22 21:50:36 +01:00
parent 385202022e
commit 96d5e7d4e3
+1 -2
View File
@@ -33,10 +33,9 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=sha type=semver,pattern={{major}}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v6
with: with: