fix: prevent invalid Docker tags on release builds

This commit is contained in:
Benjamin
2025-09-14 23:11:52 +02:00
parent c1595ffe3e
commit 78da25559a
+2 -1
View File
@@ -121,7 +121,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,prefix={{branch}}-
type=sha,prefix={{branch}}-,enable={{is_default_branch}}
type=sha,enable=false
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image