feat(actions): add docker-registry.yml for automatic ghcr.io image publishing
Summary
This PR adds a new GitHub Actions workflow that automatically builds and publishes Docker images to ghcr.io (GitHub Container Registry) when version tags (v*) are pushed to the repository.
Changes
- Added
docker-registry.ymlworkflow - Multi-platform build: linux/amd64 and linux/arm64
- Publishes to ghcr.io with semver tagging
- Uses GitHub Actions cache for optimized builds
Addresses
Issue #453
Testing
git tag v1.0.0 && git push origin v1.0.0
Summary by CodeRabbit
- Chores
- Automated Docker image builds and publishing to GitHub Container Registry on version releases with support for multiple platforms (AMD64 and ARM64).
A new GitHub Actions workflow file is introduced that automatically builds and publishes Docker images to GitHub Container Registry when tags matching 🎯 2 (Simple) | ⏱️ ~10 minutes 🐰 A rabbit hops with Docker glee,
Building images, fancy and free,
Tags v-marked trigger the automated flow,
To ghcr.io the images go,
ARM and AMD in harmony!
📦✨ ✏️ Tip: You can configure your own custom pre-merge checks in the settings.📝 Walkthrough
Walkthrough
v* are pushed. The workflow handles multi-platform builds for linux/amd64 and linux/arm64 with caching optimization.Changes
Cohort / File(s)
Summary
Docker Registry CI/CD
.github/docker-registry.ymlNew GitHub Actions workflow that builds and pushes Docker images to GHCR on version tag pushes. Includes QEMU setup, Docker Buildx configuration, metadata generation with semver tags, and layer caching via GitHub Actions cache backend.
Estimated code review effort
Poem
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name
Status
Explanation
Description Check
✅ Passed
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
✅ Passed
The title accurately describes the main change: adding a GitHub Actions workflow for automatic Docker image publishing to ghcr.io.
Docstring Coverage
✅ Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
@jamiepine Any chance this gets added to next update?
@jamiepine Any chance this gets added to next update?
Yeah I wanted to land 0.5 on its own, I'll get a patch out asap with this and a few other PRs
@jamiepine Thank you. Awesome work you and others are doing here!
Would be nice to have this merged. Building the container yourself should only be required if you want to live on the edge / develop it. Images should ideally be prebuilt for the common user.