...
Now create a file with the name .env
in the repo root folder:
Code Block |
---|
my-docker-repo._azurecr._io_USERNAME=username my-docker-repo._azurecr._io_PASSWORD=password |
Please note that you need to replace dots (.) with underscores (_) in the hostname of the respository in the .env file
This file will contain credentials for your container registry. Note that this file is not saved in .git to prevent credentials being stored in version control.
...