proxy icon indicating copy to clipboard operation
proxy copied to clipboard

feat: add Docker image publishing to GitHub Container Registry

Open lwis opened this issue 5 months ago • 1 comments

Summary

Adds automatic Docker image publishing to ghcr.io/samueltuyizere/oc-go-cc on every release.

Changes

  • .github/workflows/release.yml — New docker job that builds multi-platform images (linux/amd64 + linux/arm64) and pushes to ghcr.io. Runs in parallel with homebrew/scoop updates, depends only on the release job for the version tag.
  • Dockerfile — Accepts VERSION build arg (defaults to docker for backward compatibility with local builds).
  • README.md — Added docker 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

lwis avatar Jun 11 '26 19:06 lwis

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 resolved
  • Dockerfile - Correct VERSION ARG with trimPrefix
  • README.md - Added GHCR documentation

Reviewed by laguna-m.1-20260312:free · 723,387 tokens

kilo-code-bot[bot] avatar Jun 11 '26 19:06 kilo-code-bot[bot]

@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

lwis avatar Jun 21 '26 06:06 lwis