Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marrobi
Created June 22, 2017 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marrobi/965a5f7893fad4a718f536163a1f39a3 to your computer and use it in GitHub Desktop.
Save marrobi/965a5f7893fad4a718f536163a1f39a3 to your computer and use it in GitHub Desktop.
ACR Outputs
"outputs": {
"registryServer": {
"value": "[reference(resourceId('Microsoft.ContainerRegistry/registries',parameters('acrName'))).loginServer]",
"type": "string"
},
"registryUsername": {
"value": "[parameters('acrName')]",
"type": "string"
},
"registryPassword": {
"value": "[listCredentials(resourceId('Microsoft.ContainerRegistry/registries',parameters('acrName')),'2017-03-01').passwords[0].value]",
"type": "string"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment