Skip to content

fix(ci): the Helm smoke test loads a single-platform copy of a pushed image (#311) - #312

Merged
Madraka merged 1 commit into
mainfrom
claude/kind-load-311
Nov 28, 2026
Merged

Madraka merged 1 commit into
mainfrom
claude/kind-load-311

Conversation

@Madraka

@Madraka Madraka commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

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 pull on the digest, which stores content only for the runner's platform. kind load docker-image imports with ctr … --all-platforms, so it failed on the missing arm64 blob. The 0.11.0 run (46194318586) therefore skipped smoke-arm64 and tag.

The step now gives the recipes a single-platform linux/amd64 copy of the pushed digest:

printf 'FROM %s\n' "$SMOKE_IMAGE" | docker buildx build --platform linux/amd64 \
  --provenance=false --sbom=false --load -t cloudhal:ci -
  • This is a FROM-only build, so the copy has the same layers and config as the pushed image, and no attestations.
  • It is loaded the same way a pull request's build is (--load), which is the path the Helm smoke test already passes on every PR.
  • Pull requests keep tagging their loaded build.
  • The step prints the platform and image id it loaded.
  • The Swarm and Helm smoke tests and Trivy are unchanged. Trivy still scans the pushed digest.

Proof

The push path is dispatched on this branch with gh workflow run docker.yml --ref claude/kind-load-311 and no version. That builds and pushes only edge, which nightly overwrites anyway. The run id is in the comments.

After merge: run Actions › Docker image with version 0.11.0 from main to backfill the 0.11.0 tags and the chart.

🤖 Generated with Claude Code

… 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>
@Madraka

Madraka commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Push-path proof: workflow_dispatch run 46196307692 on this branch at 0e28752, with no version, so it builds and pushes edge only. https://github.com/cloudhal-dev/cloudhal/actions/runs/46196307692

@Madraka
Madraka merged commit 9234bc8 into main Nov 28, 2026
15 checks passed
@Madraka
Madraka deleted the claude/kind-load-311 branch November 28, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: release Docker image fails the Helm smoke test — kind cannot load the pushed multi-platform image (0.11.0 untagged)

1 participant