ci(release): switch registry login to REGISTRY_TOKEN #3

Merged
bvandeusen merged 262 commits from dev into main 2026-04-18 19:33:09 -04:00
bvandeusen commented 2026-04-18 19:29:23 -04:00 (Migrated from git.fabledsword.com)

Release run #28 build succeeded, but the push failed with 401 Unauthorized: reqPackageAccess — Forgejo's injected GITHUB_TOKEN isn't scoped for container-registry writes.

Swaps secrets.GITHUB_TOKEN for secrets.REGISTRY_TOKEN (a PAT with write:package scope, added to repo secrets). Also removes the transient diagnostics step since we now know the failure mode.

Test plan

  • Post-merge: release.yml run succeeds end-to-end
  • git.fabledsword.com/bvandeusen/minstrel:main appears in the Forgejo package registry (closes Fable task 281, milestone M0)
Release run #28 build succeeded, but the push failed with `401 Unauthorized: reqPackageAccess` — Forgejo's injected `GITHUB_TOKEN` isn't scoped for container-registry writes. Swaps `secrets.GITHUB_TOKEN` for `secrets.REGISTRY_TOKEN` (a PAT with `write:package` scope, added to repo secrets). Also removes the transient diagnostics step since we now know the failure mode. ## Test plan - [ ] Post-merge: release.yml run succeeds end-to-end - [ ] `git.fabledsword.com/bvandeusen/minstrel:main` appears in the Forgejo package registry (closes Fable task 281, milestone M0)
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/minstrel#3