GITHUB_TOKEN No Longer Authenticates for Container Registry?

Hello, sometime in the past week GITHUB_TOKEN has stopped working with container registry.

Run echo *** | docker login docker.pkg.github.com -u $GITHUB_ACTOR --password-stdin
WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
Using default tag: latest
Error response from daemon: unauthorized

I replaced it with a custom made PAT and everything works again. Did GITHUB_TOKEN lose container registry access somehow?

1 Like