Image workflow: always tag :latest

c046232 · Gabriel Morell · 2026-09-26 04:50

3 files +4 -1
Message
{commit_body(@commit)}

Files changed

modified .forgejo/workflows/image.yml
+4 −1
@@ -56,7 +56,10 @@ jobs:
56 56 tags: |
57 57 type=sha,format=long
58 58 type=ref,event=branch
59 − type=raw,value=latest,enable={{is_default_branch}}
59 + # Unconditional: `{{is_default_branch}}` evaluates false on this
60 + # forge, so :latest was never pushed. The workflow only runs on
61 + # master anyway.
62 + type=raw,value=latest
60 63
61 64 - uses: docker/build-push-action@v6
62 65 with:

Parents: 376a05c