[BUG] Unauthorized error to onpremcontainers.azurecr
Version of copa
v0.10.0
Expected Behavior
Copa should patch mcr.microsoft.com/azure-cognitive-services/speechservices/neural-text-to-speech without error and without resolving to onpremcontainers.azurecr.io/microsoft/onprem/tts-en-us-jessacpuneural:165206361-ubuntu
Actual Behavior
When patching mcr.microsoft.com/azure-cognitive-services/speechservices/neural-text-to-speech, copa tries to resolve image config from ERROR resolve image config for docker-image://onpremcontainers.azurecr.io/microsoft/onprem/tts-en-us-jessacpuneural:165206361-ubuntu.
Where is onpremcontainers.azurecr.io coming from?
Logs:
copa patch -i mcr.microsoft.com/azure-cognitive-services/speechservices/neural-text-to-speech WARN[0000] Image name has no tag or digest, using latest as tag [+] Building 1.2s (2/2) => resolve image config for docker-image://mcr.microsoft.com/azure-cognitive-services/speechservices/neural-text-to-speech:latest 0.3s => ERROR resolve image config for docker-image://onpremcontainers.azurecr.io/microsoft/onprem/tts-en-us-jessacpuneural:165206361-ubuntu 0.9s Error: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://onpremcontainers.azurecr.io/oauth2/token?scope=repository%3Amicrosoft%2Fonprem%2Ftts-en-us-jessacpuneural%3Apull&service=onpremcontainers.azurecr.io: 401 Unauthorized
Steps To Reproduce
- Run
copa patch -i mcr.microsoft.com/azure-cognitive-services/speechservices/neural-text-to-speech
Are you willing to submit PRs to contribute to this bug fix?
- [ ] Yes, I am willing to implement it.