Repository navigation
ci(release): publish multi-arch Docker image (amd64 + arm64) - #242
Conversation
The GHCR image was built only for linux/amd64, forcing Apple Silicon and ARM server users into slow QEMU emulation. Add setup-qemu-action and build for linux/amd64,linux/arm64 so the manifest list covers both.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Patch release. Fixes the startup crash on every fresh install and every new data directory since v4.10.0 (#248, #252), makes state-file writes robust on Windows and stops reindex_documents from reporting a refused run as started (#249). Also ships #236 and the multi-arch Docker image from #242. - pyproject.toml: 4.11.0 -> 4.11.1 - mcp_server/__init__.py: __version__ -> 4.11.1 - npm/package.json: 4.11.0 -> 4.11.1 - CHANGELOG.md: Unreleased promoted to v4.11.1 with highlights and credits - .github/api-surface-baseline.json: regenerated with --snapshot. Additive only: 8 modules and 5 methods added since the 2026-08-10 snapshot, none removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The GHCR image was built only for linux/amd64, forcing Apple Silicon and ARM server users into slow QEMU emulation. Add setup-qemu-action and build for linux/amd64,linux/arm64 so the manifest list covers both.
Patch release. Fixes the startup crash on every fresh install and every new data directory since v4.10.0 (#248, #252), makes state-file writes robust on Windows and stops reindex_documents from reporting a refused run as started (#249). Also ships #236 and the multi-arch Docker image from #242. - pyproject.toml: 4.11.0 -> 4.11.1 - mcp_server/__init__.py: __version__ -> 4.11.1 - npm/package.json: 4.11.0 -> 4.11.1 - CHANGELOG.md: Unreleased promoted to v4.11.1 with highlights and credits - .github/api-surface-baseline.json: regenerated with --snapshot. Additive only: 8 modules and 5 methods added since the 2026-08-10 snapshot, none removed.
Summary
ghcr.io/lyonzin/knowledge-ragis currently published for linux/amd64 only (verified via the registry manifest for:latest). Users on Apple Silicon or ARM servers have to run it under--platform linux/amd64emulation, which is slow for ONNX embedding/reranking.This PR makes the release workflow publish a multi-arch manifest:
docker/setup-qemu-action@v4before buildxplatforms: linux/amd64,linux/arm64ondocker/build-push-actionCompatibility
No Dockerfile changes needed:
python:3.13-slimis multi-arch, and the runtime deps (chromadb,onnxruntimeviafastembed) ship aarch64 wheels.Notes
ubuntu-24.04-armrunner jobs merged withdocker buildx imagetools create.Test plan
docker buildx imagetools inspect ghcr.io/lyonzin/knowledge-rag:latestlists bothlinux/amd64andlinux/arm64docker run ghcr.io/lyonzin/knowledge-rag:lateststarts natively on an arm64 hostSummary by CodeRabbit