Skip to content

ci(ghcr): derive publish namespace from repository_owner (transfer-safe)#102

Merged
NimbleCoAI merged 1 commit into
mainfrom
dev/juniperbevensee/ghcr-owner-derived-publish
Jul 22, 2026
Merged

ci(ghcr): derive publish namespace from repository_owner (transfer-safe)#102
NimbleCoAI merged 1 commit into
mainfrom
dev/juniperbevensee/ghcr-owner-derived-publish

Conversation

@juniperbevensee

Copy link
Copy Markdown
Collaborator

Makes the fork's GHCR publisher transfer-safe ahead of the NimbleCoAI→NimbleCoOrg move.

Why

ghcr-publish.yml hardcoded ghcr.io/nimblecoai/hermes-agent-mt. Correction to the transfer runbook: it assumed CI derives the path from github.repository and would silently republish to a new namespace on transfer. It doesn't — the path is hardcoded, so post-transfer CI would try to push to the nimblecoai namespace NimbleCoOrg no longer owns and fail (permission denied), not silently.

Fix

Derive the namespace from github.repository_owner (docker/metadata-action lowercases it):

ghcr.io/${{ github.repository_owner }}/hermes-agent-mt
  • Identical behavior today (owner NimbleCoAI → ghcr.io/nimblecoai/hermes-agent-mt).
  • Auto-repoints to nimblecoorg the instant the repo transfers — no coordinated timing, no launch-window code change.
  • Drops the deprecated .../hermes-agent dual-publish alias (removal date 2026-07-15, now passed).

Safe to merge anytime

Pre-transfer this publishes exactly where it does now, so it can land ahead of the move to de-risk it. The old-owner GHCR package is retained (frozen) as a pull grace window — never delete it.

Notes

🤖 Generated with Claude Code

The fork's GHCR publisher hardcoded ghcr.io/nimblecoai/... — so a transfer to
NimbleCoOrg would leave CI trying to push to a namespace it no longer owns
(permission-denied failure, not a silent republish as the runbook assumed).

Derive the namespace from github.repository_owner (docker/metadata-action
lowercases it). Behavior is IDENTICAL today (owner NimbleCoAI -> nimblecoai) and
auto-repoints to nimblecoorg the instant the repo transfers — no coordinated
code change, no launch-window timing. Also drops the deprecated
.../hermes-agent dual-publish alias (removal date 2026-07-15, now passed).

Safe to merge anytime: pre-transfer this publishes exactly where it does now.
Touches .github/ -> needs the ci-reviewed label gate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

✅ CI-sensitive file review passed

The ci-reviewed label is present on this PR.

@NimbleCoAI NimbleCoAI added the ci-reviewed Maintainer has reviewed CI-sensitive file changes label Jul 22, 2026
@NimbleCoAI
NimbleCoAI merged commit 0de631f into main Jul 22, 2026
75 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-reviewed Maintainer has reviewed CI-sensitive file changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants