There are many ways to authenticate user to the container registry. See [here](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli#authentication-options) Research on the most secure way to handle this.