Created
October 8, 2020 07:59
-
-
Save asraful/bc8e0a2c626badf31d369affbfb0a4d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Naviagte to the directory and execute bellow command : | |
sudo docker build . -f Dockerfile | |
2.Tag the build image : | |
sudo docker tag <image id > rmlregistry.azurecr.io/<name>:latest | |
3. Login to azure registry | |
sudo docker login <registry-name>.azurecr.io --username rmlregistry --password <password> | |
4. Push the newaly tagged image to the azure registry | |
sudo docker push <registry-name>.azurecr.io/<name>:latest | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment