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
Actual behavior
We try to use the acr-env method to push an image to an Azure container registry in China. However, the login defaults to the .well-known auth configuration for the Azure global cloud where the tenant cannot be found:
This is the error message:
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "{redacted}.azurecr.cn/{redacted}:latest": resolving authorization for {redacted}.azurecr.cn failed: error getting credentials - err: exit status 1, out: `failed to acquire refresh token error refreshing sp token - adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS90002: Tenant '{redacted}' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: 8787618f-c2be-42e0-a757-9a230ba35200 Correlation ID: 0b6baa5f-9178-4f79-994f-79bc4a423cfe Timestamp: 2024-12-02 16:24:36Z","error_codes":[90002],"timestamp":"2024-12-02 16:24:36Z","trace_id":"8787618f-c2be-42e0-a757-9a230ba35200","correlation_id":"0b6baa5f-9178-4f79-994f-79bc4a423cfe","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/{redacted}/oauth2/token?api-version=1.0
Expected behavior
We would like to see an option to push to the Azure China cloud instead of the global cloud.
To Reproduce
Steps to reproduce the behavior:
Setup a container registry in Azure China
Configure kaniko with acr-env and environment variables for China cloud
See the error message above.
Thank you for your awesome project!
The text was updated successfully, but these errors were encountered:
Actual behavior
We try to use the
acr-env
method to push an image to an Azure container registry in China. However, the login defaults to the .well-known auth configuration for the Azure global cloud where the tenant cannot be found:This is the error message:
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "{redacted}.azurecr.cn/{redacted}:latest": resolving authorization for {redacted}.azurecr.cn failed: error getting credentials - err: exit status 1, out: `failed to acquire refresh token error refreshing sp token - adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS90002: Tenant '{redacted}' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: 8787618f-c2be-42e0-a757-9a230ba35200 Correlation ID: 0b6baa5f-9178-4f79-994f-79bc4a423cfe Timestamp: 2024-12-02 16:24:36Z","error_codes":[90002],"timestamp":"2024-12-02 16:24:36Z","trace_id":"8787618f-c2be-42e0-a757-9a230ba35200","correlation_id":"0b6baa5f-9178-4f79-994f-79bc4a423cfe","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/{redacted}/oauth2/token?api-version=1.0
Expected behavior
We would like to see an option to push to the Azure China cloud instead of the global cloud.
To Reproduce
Steps to reproduce the behavior:
acr-env
and environment variables for China cloudThank you for your awesome project!
The text was updated successfully, but these errors were encountered: