Skip to content

fix(ci): publish with the runner's skopeo, since quay drops the digests of its rebuilt tags - #505

Merged
samuelmbabhazi merged 1 commit into
mainfrom
fix/release-runner-skopeo
Nov 26, 2026
Merged

samuelmbabhazi merged 1 commit into
mainfrom
fix/release-runner-skopeo

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

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.

…ts of its rebuilt tags

The digest of quay.io/skopeo/stable:v1.25.1 pinned in #498 was garbage-collected within a day, and the v0.1.0-alpha.6 release stopped before publishing its image, as alpha.4 did. The runner's skopeo needs no pull; the read-back still checks that the published manifest is the scanned digest.

Signed-off-by: samuel mbabhazi <[email protected]>
@samuelmbabhazi samuelmbabhazi added bug Something isn't working track:cross-cutting labels Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 093da4e and 7701e57.

Files selected for processing: 1

  • .github/workflows/release.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator Author

Dry run 45790063175 on this branch passed. "Publish the scanned image by digest" ran the runner's skopeo version 1.21.0-dev, copied the 4 manifests of the list (amd64, arm64 and their two attestation manifests) to the job's registry, and the read-back matched the scanned digest. Both jobs succeeded.

@samuelmbabhazi
samuelmbabhazi merged commit 9c77dd3 into main Nov 26, 2026
29 checks passed
@samuelmbabhazi
samuelmbabhazi deleted the fix/release-runner-skopeo branch November 26, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working track:cross-cutting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant