agrinman / tunnelto

Expose your local web server to the internet with a public URL.
https://tunnelto.dev
MIT License
2.11k stars 114 forks source link

anonymous pull of docker image doesn't work #40

Closed koalp closed 3 years ago

koalp commented 3 years ago

The README.md mentions an image available on the github package docker registry

However, when I try to pull this image, I have an unauthorized error.

unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
Error: Error initializing source docker://docker.pkg.github.com/agrinman/tunnelto/tunnelto_server:0.1.10: Error reading manifest 0.1.10 in docker.pkg.github.com/agrinman/tunnelto/tunnelto_server: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

Maybe this issue is linked to the introduction of the github container registry that seems to replace the github packages docker registry. I couldn't find information about the possibility of anonymously pull images on the github package docker registry (the one currently in use in this repo?)

agrinman commented 3 years ago

https://docs.github.com/en/packages/guides/configuring-docker-for-use-with-github-packages#about-docker-and-github-packages

koalp commented 3 years ago

Thank you for your answer but I read the documentation already and know that it works when you login to the github package docker registry.

My issue was about providing the docker image for download without having to login, as users may expect the image advertised in the readme to be available without log in. The use case is self-hosted deployment, where you may not want to manage github tokens to login to github package docker registry.