Repository navigation
fix(ci): pin skopeo to the digest quay.io serves for v1.25.1 - #498
Merged
Merged
Conversation
The v0.1.0-alpha.4 release built and scanned the control plane image, then could not publish it: quay.io rebuilt skopeo/stable:v1.25.1 and no longer serves the pinned manifest (not found). The new digest was pulled and runs skopeo 1.25.1. Signed-off-by: samuel mbabhazi <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 7 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 25, 2026
samuelmbabhazi
added a commit
that referenced
this pull request
Nov 26, 2026
…ts of its rebuilt tags (#505) ## What changed The step "Publish the scanned image by digest" of `release.yml` uses the runner's own `skopeo` instead of `quay.io/skopeo/stable:v1.25.1@sha256:…`. It fails with a clear message if the runner has none, and logs the version it used. The copy (`copy --all --preserve-digests`) and the read-back are unchanged. ## Why The `v0.1.0-alpha.6` release (run 45788297642) stopped at this step with `failed to resolve reference "quay.io/skopeo/stable@sha256:4531abd9…"`. That is the digest #498 pinned the day before, after `v0.1.0-alpha.4` failed the same way. quay.io rebuilds that tag and garbage-collects the earlier digests, so any digest pin of it breaks within days. alpha.6 published its binaries only. The runner's skopeo needs no pull. The integrity check does not depend on the tool: the step reads the published manifest back and compares its SHA-256 with the digest that was built, scanned and is about to be signed. ## How it was tested `actionlint` passes. A manual run of the release workflow on this branch, a dry run, builds and scans the image, then runs this step against a local registry. Its result is in the comment below. ## Security considerations The tool comes from the GitHub-hosted runner image, which the job already trusts for Docker and the build. A copy that changed the image would fail the digest read-back before `cosign sign` and before any tag moves. Signed-off-by: samuel mbabhazi <[email protected]>
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.
What changed
The release workflow's publish step runs skopeo from
quay.io/skopeo/stable:v1.25.1by digest. quay.io rebuilt that tag and no longer serves the pinned manifestsha256:58db214a…(it answers not found). The pin moves to the digest it serves now,sha256:4531abd9….Why
The v0.1.0-alpha.4 release built and scanned the control plane image, then failed at "Publish the scanned image by digest" with
failed to resolve reference … not found. Its agent and CLI binaries are published, but its image and control plane bundle are not.How it was tested
skopeo version 1.25.1.Security considerations
Still pinned by digest, same version. A tag that quay rebuilds can drop an old digest again; tracking that pin with Renovate is a follow-up.