Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save asraful/bc8e0a2c626badf31d369affbfb0a4d0 to your computer and use it in GitHub Desktop.
Save asraful/bc8e0a2c626badf31d369affbfb0a4d0 to your computer and use it in GitHub Desktop.
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