Docker pull from public GitHub Package Registry fail with "no basic auth credentials" error

Can this be changed please? There is no good reason to make this be the case as you can download from the site even without login. This blocks all kinds of third party CI services from working as often you can not specify registry credentials for those.

29 Likes

Can this limitation be written with bold letters in the documentation becuase it makes GitHub Package Registry not usable for any open source projects at the moment.

44 Likes

Are there any plans on removing this requirement? Currently it is not possible for us to use the docker registry in any of our projects. This was one of the main reasons we thought we could use GitHub.

15 Likes

This. Completely this. The lack of public non-auth pulls is killing any sort of “draw” to GitHub Packages…

18 Likes

Is it planned that this will change?

2 Likes

Thanks for the feedback.  We realize that this is a popular feature request, and we’ve passed it along to the GitHub Package Registry team.

28 Likes

Any update on this? I’d love to have everything live on GitHub, but without being able to pull the image without logging in, I’m going to have to publish to Docker Hub instead.

9 Likes

You’re right. And for this purpose I did a workaround you can use to publish your freshly built docker images to Dockerhub.
https://github.com/saubermacherag/gpr-docker-publish
this is a fork of a fork of a github action (without release currently).
It builds and publishes docker images to GPR except you use the param DOCKERHUB_REPOSITORY.
Maybe that helps until Github comes up with a solution.

@ethomson do you have any way to follow along with the issue? A ticket or something?

1 Like

GitLab Docker registry does not require authentication for public projects.

https://docs.gitlab.com/ee/user/packages/container_registry/index.html#using-with-private-projects

4 Likes

This is a problem I ran into when trying to make an action that runs a script in a container that I have published to GitHub Package Registry. Unfortunately it fails on the FROM statement because authentication is required, making Package Registry unuseable as a place to provide the base layer for a Docker action.

2 Likes

Any news on this. It is kind of a big issue. 

2 Likes

i just tried this feature.
I have to say i am disapointed first for the lack of transparency. Yes there are tutorials on how to login, but then again all public repositories support unauthenticated downloads.

Why is it called public docker registry if you need authentication AND permissions ?
So please first fix the documentation. You need to specify this very clear from the begining. Maybe even change the feature’s name. Private docker registry. Private packages.

Second … well it would be nice if we could publicly read from a public docker registry ?

4 Likes
  • Push -

Any news on this, please?

1 Like

Any update about this issue??

4 Likes

Any news on this?

6 Likes

Any update on this? Really need this feature

1 Like

Any news on this? Just spent half a day trying out to built an automated workflow for this and found out that you need to authenticate!

It’s really bad that it is not transparently mentioned and that it works this way !

5 Likes

Any updates???

1 Like

Any news on this, please?

1 Like