chore(workflow): use published v0.2.1 container image for repo-assist#2374
chore(workflow): use published v0.2.1 container image for repo-assist#2374
Conversation
Replace local container build with published ghcr.io/github/gh-aw-mcpg:v0.2.1 image in both the DIFC proxy and MCP Gateway docker commands. Removes the debugging-only local build step (rustup + docker build) which added ~2min to every repo-assist run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the repo-assist locked workflow to stop building a local MCP Gateway/Proxy container and instead run against the published ghcr.io/github/gh-aw-mcpg:v0.2.1 image, aligning this workflow with the standard prebuilt-image model used elsewhere in the repo.
Changes:
- Removes the (commented) local debug build steps for the MCPG container.
- Updates the DIFC proxy
docker runinvocation to useghcr.io/github/gh-aw-mcpg:v0.2.1. - Updates the MCP gateway
MCP_GATEWAY_DOCKER_COMMANDto useghcr.io/github/gh-aw-mcpg:v0.2.1.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| -e GH_TOKEN \ | ||
| -e DEBUG='*' \ | ||
| -v "$PROXY_LOG_DIR:$PROXY_LOG_DIR" \ | ||
| -v "$MCP_LOG_DIR:$MCP_LOG_DIR" \ | ||
| ghcr.io/github/gh-aw-mcpg:local proxy \ | ||
| ghcr.io/github/gh-aw-mcpg:v0.2.1 proxy \ |
There was a problem hiding this comment.
Switching from a locally built image to ghcr.io/github/gh-aw-mcpg:v0.2.1 means this docker run may now need to pull from GHCR at runtime. In this workflow, the existing “Download container images” pre-pull step happens later, so the proxy startup can become slower/flaky (and may fail if GHCR auth is only handled in that pre-pull script). Consider adding ghcr.io/github/gh-aw-mcpg:v0.2.1 to the pre-pull list and moving that pre-pull step before starting the DIFC proxy (or explicitly docker pull the image here) so the proxy start is deterministic.
Replace the local container build (rustup + docker build) with the published
ghcr.io/github/gh-aw-mcpg:v0.2.1image in repo-assist.lock.yml.Changes
ghcr.io/github/gh-aw-mcpg:local→:v0.2.1ghcr.io/github/gh-aw-mcpg:local→:v0.2.1v0.2.1 includes
author{login},authorAssociation,author{user{login}}for guard integrity labeling)copilot-swe-agent