Hello Github community,
I wanted to try out the new Github Container registry that was announced today.
With the Docker CLI I could successfully log in (using a personal access token) and push an image:
$ docker login ghcr.io
Username: my-github-username
Password *******************
$ docker pull hello-world:latest
$ docker tag hello-world:latest ghcr.io/my-github-username/hello-world:latest
$ docker push ghcr.io/my-github-username/hello-world:latest
This seems to have worked. The container image seems to be available at the registry:
docker manifest inspect ghcr.io/my-github-username/hello-world:latest
{
"schemaVersion": 2,
...
But it doesn’t seem to be public:
$ docker logout
docker manifest inspect ghcr.io/my-github-username/hello-world:latest
denied: unauthenticated: User cannot be authenticated with the token provided.
I was now looking to modify the permissions. According to the docs I should be able to see the newly pushed container image on my github profile under packages
.
But I’m only getting the default “getting started” screen there (as if I had zero packages):
Am I doing anything wrong? Any help would be appreciated. Thanks in advance!