Skip to content

ci: add agent-runner type check + Docker image build - #38

Merged
xmujx merged 2 commits into
mainfrom
chore/ci-agent-runner
Jun 3, 2026
Merged

ci: add agent-runner type check + Docker image build#38
xmujx merged 2 commits into
mainfrom
chore/ci-agent-runner

Conversation

@xmujx

@xmujx xmujx commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add agent-runner job to ci.ymlnpm ci + tsc --noEmit, matching the existing mcp-server job
  • Add agent-runner-image.yml workflow — multi-stage Docker build, push to ghcr.io/.../agent-runner:latest + sha-<7chars> on push to main
  • Dockerfile bundles both agent-runner and mcp-server (runner spawns mcp-server HTTP as child process)
  • Final image: node:20-alpine, 208MB

Trigger paths

Image build triggers on changes to agent-runner/**, mcp-server/**, or the workflow file itself.

Test plan

  • CI: tsc --noEmit passes for agent-runner
  • Docker: docker build -f agent-runner/Dockerfile -t test . succeeds locally (verified)
  • Image runs: docker run --rm test --help exits cleanly (no config = expected error)

xmujx added 2 commits June 3, 2026 06:23
- ci.yml: add agent-runner job (npm ci + tsc --noEmit)
- agent-runner-image.yml: build and push Docker image to ghcr.io
- Dockerfile: multi-stage build, bundles agent-runner + mcp-server
- .dockerignore: exclude node_modules, dist, config secrets
@xmujx
xmujx merged commit 11d7c97 into main Jun 3, 2026
4 checks passed
@xmujx
xmujx deleted the chore/ci-agent-runner branch June 3, 2026 08:13
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