Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Oneliner that replicates `aws ecr get-login` for `az acr`
az acr credential show -n mysuperpuperregistry \
--query "join(' ', ['docker login mysuperpuperregistry-on.azurecr.io', '-u', username, '-p', password])" \
--output tsv | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.