You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to pull a base image from a private ACR we should be able to leverage the credentials from docker desktop.
Current Behavior
Pulling the base image fails with error:
> Could not build image: failed to resolve reference "myacr.azurecr.io/myimage:mytag": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://myacr.azurecr.io/oauth2/token?scope=repository%3Amyimage%3Apull&service=myacr.azurecr.io: 401 Unauthorized
Expected Behavior
When attempting to pull a base image from a private ACR we should be able to leverage the credentials from docker desktop.
Current Behavior
Pulling the base image fails with error:
Steps to Reproduce (for bugs)
az acr login -n myacr
./gradlew buildImage
Docker config file
~/.docker/config.json
:The text was updated successfully, but these errors were encountered: