ci: fix auto-tag trigger and switch to gha cache #4
Loading…
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR #3 merged and the auto-tag job did run (created
v0.4.0), but that tag push never triggereddocker.yml. Root cause: the job pushed the tag using the default Actions token, and Forgejo/GitHub Actions intentionally don't let pushes made with that token trigger other workflows (loop prevention).auto-tag.yml: check out withtoken: ${{ secrets.CODEBERG_TOKEN }}(same secret already used elsewhere indocker.yml) so the tag push is a real authenticated push and does trigger downstream workflows.docker.yml: switch cache from the Codeberg registry (type=registry, which was intermittently failing blob commits) totype=ghanow that the runner supports it, and restoremode=max— full builder-stage caching, without touching the registry's unreliable path.Note
v0.4.0already exists as a tag (from PR #3) but was never built/released. After this merges, I'll re-push that tag using my own credentials so it triggersdocker.ymlproperly and completes the pending 0.4.0 release — that also validates both fixes at once.Test plan
pre-commit run check-yaml)docker.ymlruns, cache pushes to gha (no registry blob errors), release is created