CI Failure: Build Docker Image - Registry token lacks package write permission #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI Failure Analysis
Run URL: https://git.brads.house/brad/bluesky-dicebot/actions/runs/3
Commit:
3fb56b77afAttempts: 2/3 (1 remaining)
Workflow: Build Docker Image (build.yml)
Error
Root Cause
The
REGISTRY_TOKENsecret used for Docker registry login does not have sufficient permissions to push packages to the container registry.Evidence
git.brads.housesucceeded (logs showLogin Succeeded)arm64platformgit.brads.house/brad/bluesky-dicebot:latestandgit.brads.house/brad/bluesky-dicebot:arm64failed withunauthorized: reqPackageAccessResolution Required
The
REGISTRY_TOKENsecret needs to be regenerated with thewrite:packagescope (or equivalent package registry write permission) to allow Docker image pushes.Steps:
REGISTRY_TOKENwith a new token that includes write permissions for packages/container registry@brad - requires secret token update with write:package permission