Skip to content

fix(image): pin multi-arch index digest to unbreak arm64 release build - #579

Merged
c-vigo merged 1 commit into
release/0.3.5from
bugfix/578-release-0-3-5-rc1-arm64-base-digest
Jun 10, 2026
Merged

c-vigo merged 1 commit into
release/0.3.5from
bugfix/578-release-0-3-5-rc1-arm64-base-digest

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The 0.3.5-rc1 release failed on the arm64 build leg. The GitHub annotation blamed libgnutls30, but the real cause was the base-image pin: commit 40a7d1e set Containerfile line 4 to the amd64-only child manifest digest (sha256:ec58d916…) instead of the multi-arch index digest. On ubuntu-22.04-arm, Docker pulled the amd64 image and the first shell RUN died with exec /bin/sh: exec format error (exit 255).

  • Restore the multi-arch index digest sha256:a9bee155… (verified oci.image.index.v1+json, contains linux/amd64 + linux/arm64/v8).
  • No CVE regression: the live python:3.14-slim-bookworm index digest is unchanged from the pre-bump value, and fixable GnuTLS CVEs are still covered by the retained libgnutls30=3.7.9-2+deb12u7 upgrade.
  • Correct the misleading #565 CHANGELOG entry and add a #578 Fixed entry (root + workspace template).
  • Add an inline Containerfile note: manual base-image pins must use the index digest, never a per-platform child manifest.

Test plan

  • CI matrix builds both amd64 and arm64 legs successfully.
  • Publish 0.3.5-rc2 to validate the fix end-to-end, then re-run the final release.

Refs: #578

The base image pin was set to the amd64-only child manifest digest
instead of the multi-arch index digest, so the arm64 release leg
pulled an amd64 image and the first RUN failed with
"exec /bin/sh: exec format error" (exit 255).

Restore the index digest (sha256:a9bee155...), correct the misleading
#565 changelog entry, and document in the Containerfile that manual
base-image pins must use the index digest, never a per-platform child.

Refs: #578
@c-vigo
c-vigo merged commit 81b5880 into release/0.3.5 Jun 10, 2026
16 checks passed
@c-vigo
c-vigo deleted the bugfix/578-release-0-3-5-rc1-arm64-base-digest branch June 10, 2026 08:41
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