feat: add Docker image publishing to GitHub Container Registry
Summary
Adds automatic Docker image publishing to ghcr.io/samueltuyizere/oc-go-cc on every release.
Changes
.github/workflows/release.yml— Newdockerjob that builds multi-platform images (linux/amd64 + linux/arm64) and pushes to ghcr.io. Runs in parallel with homebrew/scoop updates, depends only on thereleasejob for the version tag.Dockerfile— AcceptsVERSIONbuild arg (defaults todockerfor backward compatibility with local builds).README.md— Addeddocker pull ghcr.io/...instructions in the Quick Start section.
Tag Strategy
For a release tagged v0.3.0, the image is published with:
v0.3.0(exact version)0.3(minor)0(major)latest
No New Secrets Required
Uses the built-in GITHUB_TOKEN with packages: write permission.
🤖 Generated with Claude Code
Code Review Roast 🔥
Verdict: 0 Issues Found | Recommendation: Merge
Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything.
📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are.
Files Reviewed (3 files)
.github/workflows/release.yml- Previously had YAML structure issues, now resolvedDockerfile- Correct VERSION ARG with trimPrefixREADME.md- Added GHCR documentation
Reviewed by laguna-m.1-20260312:free · 723,387 tokens
@samueltuyizere thanks for merging!
The image was pushed successfully but the package visibility seems to be private.
Fix it in the GitHub UI: https://github.com/orgs/routatic/packages/container/proxy/settings → Change visibility to Public
Or via API:
gh api --method PATCH /orgs/routatic/packages/container/proxy -f visibility=public