Repository navigation
fix(ci): the Helm smoke test loads a single-platform copy of a pushed image (#311) - #312
Merged
Merged
Conversation
… image (#311) A pushed build (release, versioned dispatch, nightly edge) is a multi-platform index. `docker pull` of its digest stores only the runner's platform, and `kind load docker-image` imports with `--all-platforms`, so it failed on the missing arm64 blob and the 0.11.0 run never reached its tag job. The recipes now get the pushed digest as a single-platform linux/amd64 image, loaded the way a pull request's build is: a `FROM <digest>` build with `--load` and no attestations (the same layers and config). Pull requests keep tagging their loaded build. The step prints the platform and image id it loaded. Closes #311 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
Contributor
Author
|
Push-path proof: |
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.
Closes #311
What
A pushed build (a release, a versioned dispatch, or nightly edge) is a multi-platform index. "Local copy of the image for the recipes" ran
docker pullon the digest, which stores content only for the runner's platform.kind load docker-imageimports withctr … --all-platforms, so it failed on the missing arm64 blob. The 0.11.0 run (46194318586) therefore skippedsmoke-arm64andtag.The step now gives the recipes a single-platform linux/amd64 copy of the pushed digest:
FROM-only build, so the copy has the same layers and config as the pushed image, and no attestations.--load), which is the path the Helm smoke test already passes on every PR.Proof
The push path is dispatched on this branch with
gh workflow run docker.yml --ref claude/kind-load-311and no version. That builds and pushes onlyedge, which nightly overwrites anyway. The run id is in the comments.After merge: run Actions › Docker image with version
0.11.0from main to backfill the 0.11.0 tags and the chart.🤖 Generated with Claude Code