ci: publish docker image on release#51
Merged
Merged
Conversation
Signed-off-by: jasonp2323 <jpaquette2323@gmail.com>
Signed-off-by: jasonp2323 <jpaquette2323@gmail.com>
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.
What type of PR is this?
Description
Adds multi-architecture Docker image publishing to the release workflow and
documents container usage in the README. Also fixes a stale Go version pin
that has broken the release workflow since the go 1.25 bump.
CI (
.github/workflows/release.yml):docker/setup-qemu-action@v3anddocker/setup-buildx-action@v3steps to the existingdockerjobplatforms: linux/amd64,linux/arm64to thedocker/build-push-actionstep, so releases now publish multi-arch images toghcr.io/pmady/gpu-mcp-server(arm64 covers Grace Hopper / GH200 GPU servers)v0.1.0) andlatestsetup-gostep, which pinnedgo-version: "1.23"whilego.modrequires go >= 1.25 — withGOTOOLCHAIN=localthis fails the test step, so any release tag pushed today would fail before building anything. Now usesgo-version-file: go.modso it can't drift again. (Found by rehearsing the release on my fork.)Docs (
README.md):docker pull/docker runexamples, the NVIDIA Container Toolkit requirement for--gpus all, a note that-iis required since the server speaks MCP over stdio, and an MCP client config snippet that launches the server viadocker runTesting — full release rehearsal on my fork:
docker buildx imagetools inspectthat the manifest list contains bothlinux/amd64andlinux/arm64--versionon the amd64 image natively and on the arm64 image under QEMU emulation--gpus all). I'm following up with a proposal for reusable GPU test infrastructure that will validate released images on real T4 (amd64) and T4G (arm64) hardware.and published to my fork's GHCR:
successful run
published package
Related Issue
Fixes #27
Checklist
make testpassesmake lintpassesgit commit -s)AI Assistance Disclosure
Per AI_GUIDELINES.md: the release.yml was modified with the help of AI
(Claude Code). I reviewed the changes, performed make and lint tests
and validated the release workflow by merging and tagging onto my own fork.
Commits are DCO signed-off.
Contributor Info