0
votes

Is there a way to get details of Users who pushed an Image in to Azure Container Registry (ACR). We have enabled RBAC and integrated the ACR with Azure Active Directory. When I go to a repository and see the details of Image, it currently does not show information like who pushed the image to ACR.

1
Does the solution solve your problem? Or you need more help? If it works for you please accept it as the answer.Charles Xu

1 Answers

0
votes

Unfortunately, the ACR does not store the people who pushed the images. You can only see the messages that when you create the repository and when you update it. You can use the CLI command az acr repository show --repository repo_name and it's output like this:

enter image description here

ACR does not care about who pushes the images, if someone has the permission, then he can do it. The ACR is a private docker registry, so I recommend that it's better for you to control the permissions of the ACR then record the messages who pushed the images. You can control the permissions following the steps here.