Release path: a v* tag builds, pushes and signs the image on the forge #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (feature): a pushed
v*tag makes forge CI build, push and sign the mcl-bookclub-phoenix image, which is the standard release path. Signing comes back with it.Refs macula-services/mcl-bookclub-phoenix#4, macula-services/mcl-bookclub-phoenix#3
Why
The forge CI port (#4 PR 0) drops the GitHub-only
image,attestandpromote-latestjobs, along withguard. The rulings behind that:Until this issue lands, a phoenix image is neither built nor signed.
Plan
v*tag, forge CI builds the image from the tested resolve, pushes it to the forge registry and signs it, with the key held as a repo secret. (:latestdropped: see Done when.)Done when
v*tag on this repo produces a signed image on the forge registry, verified by digestdropped. Supervisor ruling 2026-12-01: "No :latest. The fleet pins by digest (macula-portal#49)." The tag pushes:latestnames that signed digest:X.Y.Zand:X.Yonly, as mcl-stations and macula-realm do.Added from Uranus's review of #4 PR 0 (forge PR 6, note n1). SHIPPED == TESTED belongs to this release path.
PR 0 removed the mix.lock hand-off along with the image job. The forge release job must bring it back:
scripts/assert_release_matches_lock.shwas kept for this.Done-when gains:
assert_release_matches_lock.shpasses before the pushSupervisor ruling, 2026-12-01: keep
VERSIONas the one version source (no hard-coded values). The release guard is called withversions: none, and the release job refuses a tag that is notv$(cat VERSION). The guard learning to read a VERSION file is macula-io/macula-ci-images#36. The workflow is PR 23.Done:
v0.2.0is released and verified by digest.v*tag on this repo produces a signed image on the forge registry, verified by digestv0.2.0be568b12b3, pointing at54c8407a3c(read back withgit ls-remote). It was tagged after main runs 6528, 6529 and 6530 went green.[guard, test, advisories](#24).:0.2.0=:0.2=sha256:d0548c0120d6cccf7656b1f6f73c6504588f0cd3450c70521a7d863725bb8c60. No:latest.edge/gitops/verify-image.shdoes in key mode: cosigngit.macula.io/macula-pub/cosign:v3.1.3@sha256:6ca1127d…,--key= the one PEM block ofgitops/signer-keys.pub(sha256 bce30e78…),--insecure-ignore-tlog=true:cosign verify -a repo=macula-services/mcl-bookclub-phoenix -a ref=v0.2.0 git.macula.io/macula-services/mcl-bookclub-phoenix@sha256:d0548c01…rc=0: "The specified annotations were verified. … The signatures were verified against the specified public key". The payload reads{commit: 54c8407a…, ref: v0.2.0, repo: macula-services/mcl-bookclub-phoenix}.verify-attestation --type spdxjsonrc=0,verify-attestation --type slsaprovenancerc=0.was dropped by Supervisor ruling 2026-12-01: "No :latest. The fleet pins by digest (macula-portal#49).":latestnames that signed digestRulings: DECIDED 2026-11-24 "nothing stays on github!"; DECIDED 2026-11-24 "Tag = CI build (Recommended)"; DECIDED 2026-12-01 "Advisories job, then tag (Recommended)".