I have an Azure Container Registry (ACR) and am trying to create a pull task from another ACR using a Managed Identity and the oci link as context ex: oci://mycontainerregistry.azurecr.io/dotnetapp:latest
however I noticed that whenever I try to execute the task, I am getting this error: Error: failed to download context. Please check if the URL is incorrect. If it has credentials, please check if they are expired
I tried for a bit to try to solve the problem figuring it was a permissions issue, however when I tried to simplify this and run a build directly on the registry that contains the container I am trying to pull from, I am getting the same error. Am I missing something? Maybe something is wrong with my oci link? I am somewhat new to this.
az acr build -r mycontainerregistry oci://mycontainerregistry.azurecr.io/dotnetapp:latest