read:packages
scope. 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 GET 'https://api.github.com/user/packages///versions'
[
{
"created_at": "2011-04-10T20:09:31.000Z",
"deleted_at": "2014-03-03T18:58:10.000Z",
"description": "string",
"html_url": "https://github.com/orgs/github/packages/container/super-linter/786068",
"id": 1,
"license": "MIT",
"metadata": {
"container": {
"tags": [
"string"
]
},
"docker": {
"tag": [
"string"
]
},
"package_type": "docker"
},
"name": "latest",
"package_html_url": "https://github.com/orgs/github/packages/container/package/super-linter",
"updated_at": "2014-03-03T18:58:10.000Z",
"url": "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
}
]
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.