read:packages
and write:packages
scopes. If the package_type
belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the repo
scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "About permissions for GitHub Packages."curl --location --request POST 'https://api.github.com/user/packages///versions//restore'
{}
maven
. Docker images pushed to GitHub's Container registry (ghcr.io
) have the type container
. You can use the type docker
to find images that were pushed to GitHub's Docker registry (docker.pkg.github.com
), even if these have now been migrated to the Container registry.