microsoft / azure-api-management-monetization

MIT License
54 stars 30 forks source link

App service can't pull Docker image #13

Closed nbarrasson closed 3 years ago

nbarrasson commented 3 years ago

Thanks for the recent updates.

However the Billing app can't be deployed on my App Service:

Got this from the Docker logs 2021-06-30T08:45:48.068Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://ghcr.io/v2/microsoft/azure-api-management-monetization/app/manifests/latest: unauthorized"}

MikeEvansLarah commented 3 years ago

The repo is currently private, so the GitHub Container Registry requires authentication. This should work once the repo is made public.

nbarrasson commented 3 years ago

I've setup creds like documented here : https://azure.github.io/AppService/2020/10/15/Docker-Hub-authenticated-pulls-on-App-Service.html Can you grant my user rights to pull the image?

nbarrasson commented 3 years ago

Issue with my PAT. That's fine now. You can close this issue. Thanks @MikeLarah