Skip to content

Pushing docker image to GPR: manifest invalid: Only schema version 2 is supported #25315

Answered by thepont
WyriHaximus asked this question in Packages
Discussion options

You must be logged in to vote

I might be stating things that people already know, But talking to github support they advised that the default storage for Github team is: 

GitHub Team

  • Storage: 2GB
  • Data Transfer: 10GB

Also that the organisation storage can be checked by viewing: https://github.com/organizations/ORG/settings/billing

The following works for me, to list versions of packages on a project.

curl -X POST \
    -H "Accept: application/vnd.github.package-deletes-preview+json" \
    -H "Authorization: bearer TOKEN" \
    -d '{"query":"query {repository(owner:\"ORG\", name:\"REPOSITORY\") {registryPackages(last:20) {edges{node{id, name, versions(last:20){edges {node {id}}}}}}}}"}' \
    https://api.github.com/gr…

Replies: 19 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository
9 participants