Ghcr.io Unauthorized Access

Hi,

I am wondering if anything changed recently with ghcr.io endpoint like https://ghcr.io/v2/XXX/manifests/XXX
Until recently I could use Github token to authenticate and retrieve docker image manifest but It now return {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}

This curl command used to work
curl -H "Authorization: Token $GITHUB_TOKEN" https://ghcr.io/v2/xxx/manifests/xxx but now I can only succeed by running
curl -H "Authorization: Bearer ..." https://ghcr.io/v2/xxx/manifests/xxx

1 Like