Remove the admin account requirement for Docker login action
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
This action currently [requires an admin account](https://github.com/Azure/docker-login) to push images to an Azure Container Registry, which requires customers to enable the admin account when deploying to ACR with GitHub Actions. Enabling such an account is [not recommended](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account) per the least privilege principle, and it is an https://github.com/Azure/docker-login/issues/34that needs to be managed.
It should be possible to use Azure Credentials for ACR logins.
Follow the instructions on [GitHub - Azure/docker-login: GitHub action to log in to Azure Container Registry (ACR) or any private container registry](https://github.com/Azure/docker-login): --> the instructions require an admin account, which is [not recommended](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#admin-account).
A better alternative is to use Azure credentials, especially if the workflow is already using the azure/login task.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.