I want to use a Azure Container Registry
of a different account in a Build
pipeline in Azure DevOps
.
When I try to add a Docker Registry Service Connection
and select Azure Container Registry
, it only lets me choose between the subscription of the current account.
When I try to add the Azure Resource Manager
of the Subscription of a different account which contains the Azure Container Registry
in the Service Connections
, it says it cannot find any Azure Container Registry
.
So how do I accomplish this?
I have the same situation in which the Azure Container Registry (ACR) is in a different Azure AD from the Azure DevOps build pipelines.
I'll outline the steps I used:
This is currently working for me. There may be a better way
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With