Describe the bug
When running az acr import, under a task with acrpush rights, I receive a failure of unkonwn registry.
To Reproduce
Steps to reproduce the behavior:
- create a sp with acrpush rights
- az acr login, with the sp user/pwd
az acr import --name contosobaseimages --source docker.io/library/node:9-alpine -t staging/node:9-alpine --force
ERROR: The resource with name 'contosobaseimages' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'SteveLas-Internal (daae1e1a-63dc-454f-825d-b39289070f79)'.
Expected behavior
acrpush rights to work.
Work around
I had to assign contributor rights to get this flow to work. Which is much more than Import should require.
Describe the bug
When running az acr import, under a task with acrpush rights, I receive a failure of unkonwn registry.
To Reproduce
Steps to reproduce the behavior:
az acr import --name contosobaseimages --source docker.io/library/node:9-alpine -t staging/node:9-alpine --forceERROR: The resource with name 'contosobaseimages' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'SteveLas-Internal (daae1e1a-63dc-454f-825d-b39289070f79)'.Expected behavior
acrpush rights to work.
Work around
I had to assign
contributorrights to get this flow to work. Which is much more than Import should require.