chore: establish versioned image release policy - #468
Merged
Conversation
Build immutable prerelease and source tags from an exact main-reachable SHA, then promote an independently accepted digest without rebuilding.
Fail closed on registry query errors, require an RC for stable promotion, pin credential-bearing workflow actions, and record promotion time.
Pin the Go builder and Debian runtime to compatible multi-architecture manifest digests. Record both base image digests in release evidence and document the post-fix exact-main baseline.
Require each pinned base image to carry a readable tag before its manifest digest. Replace the retired compatibility SHA in the tag policy example.
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.
Summary
latestpublication with a manual exact-SHA build that accepts only main-reachable commits and creates immutable prerelease plussha-<8>tagslatestafter an independent acceptance reference is suppliedmyduckserver --versionfor images built from this commit onwardThe first baseline remains the exact application source
5e29d94db535e51876ec9465c5ef78a8e2c2d92a; its identity is read from OCI labels because that source predates--version.Verification
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7 .github/workflows/release-image.yml .github/workflows/promote-image.ymlgit diff --checkgo test . -run '^TestVersionInfo$' -count=1go test ./backend -count=1go test ./transpiler -count=1myduckserver --versionoutputA local arm64 image build reached
go mod downloadafter completing the base and runtime dependency stages, then hit a transientproxy.golang.orgtimeout. No workflow or remote image publication was triggered; container label/version evidence will be supplemented from the cached retry.