I have pushed an image to Github Container Registry (GHCR) and made it public.
When I try to pull it, I get an error (I've already done docker login
).
docker pull ghcr.io/username/reponame:master
Error I receive:
Error response from daemon: Head "https://ghcr.io/v2/username/reponame/manifests/master": denied: denied
I could not find much information about this error, but this post describes the same issue: https://github.com/orgs/community/discussions/27116. However, just waiting didn't work for me.
Fixed the issue by removing my GHCR credentials:
Seems like a bug in public images/packages.