fix(ci): require explicit latest promotion on manual tag builds
CI - Validacao Go / Validar Codigo e Testes (push) Successful in 2m55s
Docker - Promover latest / Promover release para latest (push) Failing after 4m50s
Docker - Build e Publicacao / Build, Scan e Publicacao (push) Successful in 3m25s

This commit is contained in:
jfeng committed 2026-11-13 22:03:35 -03:00
1 parent 406fcc2e52
commit fd7fc29d11
2 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
id: promotion
run: |
PROMOTE=false
if [ "${{ github.ref_type }}" = "tag" ] || [ "${{ github.event.inputs.promote_latest }}" = "true" ]; then
if { [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref_type }}" = "tag" ]; } || [ "${{ github.event.inputs.promote_latest }}" = "true" ]; then
git fetch origin maintained-stable
if git merge-base --is-ancestor HEAD FETCH_HEAD; then
PROMOTE=true