Publish GHCR image as multi-arch manifest (amd64 + arm64)#11
Merged
kderholtvisma merged 4 commits intomainfrom Apr 18, 2026
Merged
Publish GHCR image as multi-arch manifest (amd64 + arm64)#11kderholtvisma merged 4 commits intomainfrom
kderholtvisma merged 4 commits intomainfrom
Conversation
Match the minimal multi-arch pattern used in sibling repo mcp-github-action. The cache and manifest-verify step were added defensively but aren't required for arm64 support, and setup-qemu-action's default platforms already cover linux/amd64 and linux/arm64 so the explicit input was a no-op.
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.
Summary
docker/setup-qemu-action+docker/setup-buildx-actiontodocker-publish.ymlso the release workflow can cross-build for arm64 via QEMU emulation on the amd64 runner.docker/build-push-actionwithplatforms: linux/amd64,linux/arm64and GHA build cache (cache-from/to: type=gha,mode=max) so consumers on Apple Silicon / AWS Graviton get native arm64 binaries instead of emulating amd64.Verify multi-arch manifeststep that runsdocker buildx imagetools inspectand hard-fails the job if eitherlinux/amd64orlinux/arm64is missing from the pushed manifest — no silent regressions if a future Deno base image drops an arch.No Dockerfile changes:
denoland/deno:2.6.6already ships a multi-arch manifest, and the Dockerfile is arch-agnostic.SHAs for the two new actions were resolved live from
gh api releases/latestand pinned with version comments per existing repo discipline (docker/setup-qemu-action@ce360397/docker/setup-buildx-action@4d04d5d9, both v4.0.0).Test plan
pr-check.yml) passes:deno fmt --check,deno lint,deno check main.ts,deno test --allow-net.Release and Publishonmainsucceeds; the newVerify multi-arch manifeststep reports bothlinux/amd64andlinux/arm64.docker buildx imagetools inspect ghcr.io/tripletex/mcp-dependency-version:latestlocally shows both platforms post-release.