The signer refuses the forge base pair, so no mcl-stations release can be signed from the forge #12
Loading…
Add table
Add a link
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 (bug): mcl-stations can be released from the forge — its Containerfile names a base pair host00's image signer accepts, so the first forge tag builds and signs.
Found by Uranus reviewing macula-io/macula-fleet#37 (PR 38, the stations signer target). It blocks the mcl-stations 0.7.0 line in the release menu: the tag would be refused at the build, after the tag is already pushed.
Instance: mcl-stations main
8f97469,Containerfile:17and:63name the plain pair on the forge's registry —FROM git.macula.io/macula-io/macula-ci-otp@sha256:3e202cf7… AS builderandFROM git.macula.io/macula-io/macula-pq-runtime@sha256:80abb8c5….A release builds no image in CI any more: host00's signer builds the signed tree, and before it builds,
signer-lib.sh:167-184(sl_check_froms) printsVERIFY <ref>for every base ongit.macula.io/, andsigner-build.sh:158-163runscosign verify --key /etc/image-signer/cosign.pubon each and refuses the build when one does not verify. macula-ci-images' build does not sign its own images with the signer's key, so a forge copy of the pair can never pass that check:mcl-stations 0.7.0 … base git.macula.io/macula-io/macula-ci-otp@sha256:3e202cf7… does not verify with our key, nothing signed, tag to be deleted.Why the pair is on the forge at all: DECIDED 2026-11-23 "our crew can no longer depend on github!", and the images moved to the forge with the rest of the work. The signer's own rule is older and unchanged, so the pair has to come from a registry the signer can pull and does not have to verify: public ghcr.
Fix, as mcl-rag#8 did it (mcl-rag's
Containerfile:27,90,lint.yml:62): name the pair on public ghcr by its dated tag AND digest,ghcr.io/macula-io/macula-ci-otp:20261120-1240@sha256:39da3146…(builder) andghcr.io/macula-io/macula-pq-runtime:20261120-1240@sha256:06fe4ae6…(runtime), and move every pin with it:.github/workflows/test.yml's job images (fourimage:lines, all the builder digest), theREADME.md:107example,CHANGELOG.md's pin note, the Containerfile's ⚠ block (it says "ON THE FORGE'S REGISTRY" and must say why ghcr instead), and the two guards inapps/mcl_stations/test/mcl_stations_service_tests.erlthat pin the registry (images_are_the_digest_pinned_plain_pair_test,ci_runs_in_the_builder_image_test).Consequence for the release: the v0.7.0 tag commit moves off
8f97469to the commit that carries this fix, and its tested lock is the one filed by that commit's push run.