Repository navigation
fix(ci): give each publish a tag that never moves - #28
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 20, 2026 18:50
dan-petty
marked this pull request as draft
November 20, 2026 18:51
The publish job tagged each manifest list with the date, and each push to main and the daily rebuild published a new list. On 2026-11-20, seven runs published, and the tag 20261120 moved seven times. Each move left the earlier list with no tag, and consumers pin those digests. - A version job gives the run one version, YYYYMMDD.<run number>, at its start. The date comes first, so the tags sort by date, and the run number makes each tag unique. A re-run of the failed jobs keeps the version of the run. - The push job gives the version to the label org.opencontainers.image.version, and the publish job tags the manifest list with it, so the label and the tag are the same. - The publish job stops when the tag exists already: a tag never moves. - latest moves as before, after the attestation. Closes #17
dan-petty
force-pushed
the
fix/17-immutable-tag
branch
from
November 20, 2026 18:52
abdb06c to
462e0ba
Compare
dan-petty
marked this pull request as ready for review
November 20, 2026 18:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Give each publish a tag that never moves.
20261120moved 7 times on 2026-11-20, and each move left the earlier manifest list untagged, while consumers pin those digests.versionjob gives the run one version,YYYYMMDD.<run number>, at its start (the date first, so tags sort by date). The push job's version label and the publish job's tag both use it, also across midnight. A re-run of the failed jobs keeps it.imagetools inspectis the only pass).latestmoves as before.Proof: actionlint and zizmor pass. After merge: two publishes give two tags;
skopeo inspectof a platform image shows the tag inorg.opencontainers.image.version.Closes #17