Skip to content

Add Docker image build workflow#3

Merged
JannikSt merged 4 commits into
mainfrom
feature/docker-image-workflow
Apr 1, 2026
Merged

Add Docker image build workflow#3
JannikSt merged 4 commits into
mainfrom
feature/docker-image-workflow

Conversation

@JannikSt
Copy link
Copy Markdown
Member

@JannikSt JannikSt commented Mar 31, 2026

  • Multi-arch Docker image (amd64 + arm64) via GH Actions
  • Triggers on version tags or manual dispatch
  • Pushes to ghcr.io/primeintellect-ai/router
  • Dockerfile now builds from local source instead of cloning JannikSt/router

Note

Medium Risk
Changes the release/publishing pipeline and the produced container image composition, which can impact deployments if the build or runtime dependencies differ across architectures.

Overview
Adds a new GitHub Actions workflow (build-push-image.yml) that builds and pushes ghcr.io/primeintellect-ai/router images for linux/amd64 and linux/arm64 on v* tags (or manual runs), then publishes a multi-arch manifest and optionally tags latest for release tags.

Updates Dockerfile.router to a two-stage build that compiles vllm-router from the repo using Rust (installing protobuf-compiler and nightly toolchain) and ships only the binary in a minimal debian:bookworm-slim runtime image (dropping the previous Python-based runtime setup).

Written by Cursor Bugbot for commit 5a4b96c. This will update automatically on new commits. Configure here.

- Build multi-arch (amd64 + arm64) images on tag push or manual dispatch
- Push to ghcr.io/primeintellect-ai/router with multi-arch manifest
- Fix Dockerfile to build from local source instead of cloning a fork
Comment thread .github/workflows/build-push-image.yml
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread Dockerfile.router
Comment thread .github/workflows/build-push-image.yml Outdated
JannikSt added 2 commits April 1, 2026 08:46
- Add CMD with --host 0.0.0.0 --port 8080 so the container is reachable
- Only apply the latest Docker tag on version tag pushes, not manual dispatches
@JannikSt JannikSt merged commit 604fd6d into main Apr 1, 2026
6 checks passed
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