Skip to content

ci: publish image to GHCR (pull + run locally) - #5

Merged
settletop-niles merged 1 commit into
mainfrom
claude/ci-publish-image
Aug 11, 2026
Merged

settletop-niles merged 1 commit into
mainfrom
claude/ci-publish-image

Conversation

@settletop-niles

Copy link
Copy Markdown
Contributor

Publish the image to GHCR so it can be pulled + run locally

Extends the existing image CI job to push the built (and fail-closed-verified) container image to GitHub Container Registry, so the image can be pulled and run locally without building:

docker pull ghcr.io/settletop-inc/coderoot-repo-assessor
  • Only publishes on main and release tags — PRs and feature branches still build + run the fail-closed image test, but never push.
  • Tags: :latest + :sha-<short> on main; :vX.Y.Z on a release tag (a tags: ["v*"] trigger was added).
  • Reuses the already-built :ci image (no second build), and uses the built-in GITHUB_TOKEN with packages: write — no new secrets.

First publish happens when this merges to main. Note: GHCR packages start private; to docker pull without auth, make the package public once in the repo's Packages settings (or docker login ghcr.io with a PAT).

🤖 Generated with Claude Code

Extends the existing `image` job to push the already-built, fail-closed-verified
image to GitHub Container Registry so it can be pulled and run locally:
`docker pull ghcr.io/settletop-inc/coderoot-repo-assessor`. Only pushes on main
(:latest + :sha-<short>) and release tags (:vX.Y.Z); PRs/feature branches build+test only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@settletop-niles settletop-niles self-assigned this Aug 11, 2026
@settletop-niles
settletop-niles merged commit 449f580 into main Aug 11, 2026
4 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