Skip to content

Use published ghcr.io/github/gh-aw-mcpg:v0.2.2 for repo-assist baseli…#2388

Merged
lpcox merged 1 commit intomainfrom
test/repo-assist-v0.2.2-baseline
Mar 23, 2026
Merged

Use published ghcr.io/github/gh-aw-mcpg:v0.2.2 for repo-assist baseli…#2388
lpcox merged 1 commit intomainfrom
test/repo-assist-v0.2.2-baseline

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Mar 23, 2026

…ne test

…ne test

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 23, 2026 21:33
@lpcox lpcox merged commit 86d7694 into main Mar 23, 2026
17 checks passed
@lpcox lpcox deleted the test/repo-assist-v0.2.2-baseline branch March 23, 2026 21:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Repo Assist locked workflow to use a published ghcr.io/github/gh-aw-mcpg container image instead of building a local :local image during the run, simplifying the baseline execution path.

Changes:

  • Removes the Rust toolchain + WASM guard build + local Docker build steps.
  • Pulls ghcr.io/github/gh-aw-mcpg:v0.2.2 and uses it for the DIFC proxy and MCP gateway container command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +401 to +403
- name: Pull published container image
run: |
# Install Rust toolchain for WASM guard build
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
source "$HOME/.cargo/env"
rustup target add wasm32-wasip1

# Build the WASM guard
cd guards/github-guard/rust-guard
cargo build --release --target wasm32-wasip1
cp target/wasm32-wasip1/release/github_guard.wasm ../github-guard-rust.wasm
cd ../../..

# Build the Docker image with :local tag
docker build -t ghcr.io/github/gh-aw-mcpg:local .
docker pull ghcr.io/github/gh-aw-mcpg:v0.2.2
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gh-aw-mcpg image reference is now hardcoded as ghcr.io/github/gh-aw-mcpg:v0.2.2 in multiple places (the pull step, the proxy docker run, and MCP_GATEWAY_DOCKER_COMMAND). To reduce future drift when bumping versions, consider defining a single env var for the image and referencing it everywhere (and optionally reusing the existing download_docker_images.sh helper here for consistency with later image prefetching).

Copilot uses AI. Check for mistakes.
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.

2 participants