Unable to push docker image to GPR: manifest invalid

Hello, starting today, I’m receiving the error “manifest invalid: Only schema version 2 is supported” when pushing docker image to my repository. It’s failing the same in Actions and locally when trying to push images. No change on the actions or my local settings. The last push 15 days ago succeed so not sure what happened in the meantime. From the org perspective there is enough space and bandwidth available in the billing section so this might not be the issue (as pointed by someone elsewhere). Any clues what to look on? Docker debug logs say nothing helpful, running on Win with Linux containers.

Thanks
Pavel

Hi @pavel-spacil, GHCR engineer here. Could you please include the name of the docker image (full path like org/image-name) please so we can help debug?

Hi Mark, the image is solarwinds/marble, I’ve tried to push various tags there. Thanks

Hi @pavel-spacil, I see the token you are using has the write:packages scope, could you do me a favor and try using a new token that has write:packages, read:packages and repo scopes?

Hi @markphelps, it seems that even just repo_deployment scope did the trick and I’m able to push images locally and on CI again! Thank you

1 Like