Skip to content

Reference the image by tag in the release smoke test - #13

Merged
maksimu merged 1 commit into
mainfrom
ci/fix-smoke-test
Aug 27, 2026
Merged

Reference the image by tag in the release smoke test#13
maksimu merged 1 commit into
mainfrom
ci/fix-smoke-test

Conversation

@maksimu

@maksimu maksimu commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

The release smoke test referenced the image as IMAGE@digest and passed --platform to docker run, which fails with cannot overwrite digest (exit 125). A digest pins a single manifest, so --platform cannot then select a different one from the index.

Reference the version tag instead, and pull each platform explicitly before running it.

Context

Hit on the v1.0.0-rc.1 run. Everything up to and including the push succeeded, so keeper/gchat-app:v1.0.0-rc.1 is published correctly:

MediaType: application/vnd.oci.image.index.v1+json
  linux/amd64
  linux/arm64

Both platforms were then verified by hand against that published image, reporting x64/arm64 on Node 22 and exiting with the expected configuration error. The corrected loop was run verbatim against the same image before committing.

Because published version tags are immutable by design, the next release candidate is v1.0.0-rc.2 rather than a re-run of rc.1.

The smoke test resolved the image as IMAGE@digest and then passed --platform to
docker run, which fails with "cannot overwrite digest" (exit 125): a digest pins
a single manifest, so --platform cannot select a different one from the index.

Reference the version tag instead, and pull each platform explicitly before
running it so the correct architecture is present locally.

Verified against the published keeper/gchat-app:v1.0.0-rc.1: both linux/amd64
and linux/arm64 report the expected architecture and exit with the expected
configuration error.
@maksimu
maksimu merged commit ab208a2 into main Aug 27, 2026
3 checks passed
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.

1 participant