Skip to content

fix(ci): authenticate the legacy image mirror with a PAT - #601

Merged
us merged 1 commit into
mainfrom
fix/ghcr-legacy-mirror-auth
Oct 3, 2026
Merged

us merged 1 commit into
mainfrom
fix/ghcr-legacy-mirror-auth

Conversation

@us

@us us commented Oct 3, 2026

Copy link
Copy Markdown
Member

The mirror step that copies release images to ghcr.io/us/crw has been failing with 403 permission_denied on every release. The org GITHUB_TOKEN cannot write a package owned by the us user, and continue-on-error hid it, so ghcr.io/us/crw:latest stayed on 0.36 (reported in #600).

  • add a login step as us using the LEGACY_GHCR_TOKEN repo secret before the mirror step
  • both steps stay continue-on-error, so a mirror failure still cannot fail a release

ref #600

The org GITHUB_TOKEN cannot write ghcr.io/us/crw, which belongs to the
us user, so every mirror step failed with a 403 that continue-on-error
hid. ghcr.io/us/crw:latest stayed on 0.36.

Log in as us with the LEGACY_GHCR_TOKEN secret before mirroring.
@us
us force-pushed the fix/ghcr-legacy-mirror-auth branch from 6f15386 to e35ce59 Compare October 3, 2026 16:40
@us
us merged commit 55c2056 into main Oct 3, 2026
10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant