I want to share the same image between two Azure Container Registries. Registries are in different tenants. I build images on self hosted agent with Managed Identity. I have two pools with separate maned identity, because they are also on different tenants.
So on Dev env I have:
- dev pool with dev managed identity
- dev ACR
- dev subscription
- dev tenant
On Prod env I have:
- prod pool with prod managed identity
- prod ACR
- prod subscription
- prod tenant
I don't want to build images twice, but I want to reuse the same image which is alreadu pushed.
To do this you can: