istio-ecosystem / authservice

Move OIDC token acquisition out of your app code and into the Istio mesh
Apache License 2.0
217 stars 63 forks source link

no basic auth credential #142

Closed 13567436138 closed 6 months ago

13567436138 commented 3 years ago

[root@master01 ~]# docker pull docker.pkg.github.com/istio-ecosystem/authservice/authservice:0.4.0-2a89ce7 Error response from daemon: Head https://docker.pkg.github.com/v2/istio-ecosystem/authservice/authservice/manifests/0.4.0-2a89ce7: no basic auth credential

13567436138 commented 3 years ago

Error response from daemon: 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. [root@master01 ~]#

yovizzle commented 3 years ago

I'm getting the same issue

gamberooni commented 3 years ago

You can create a Personal Access Token according to the docs. Select the appropriate scopes and copy the generated token into a file (e.g. TOKEN.txt). Then do docker login using that token $ cat TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin. After that you should be able to do docker pull $ docker pull docker.pkg.github.com/istio-ecosystem/authservice/authservice:0.4.0-2a89ce7.

nacx commented 6 months ago

Images are pushed now to GHCR