From 011ca07d32c5c55f02a3fcb0f699d547c0dd1439 Mon Sep 17 00:00:00 2001 From: Jarvis Yang <45811933+jwhy89@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:31:50 -0500 Subject: [PATCH] Update registries.md --- docs/configuration/registries.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration/registries.md b/docs/configuration/registries.md index 79a43f10..3e782d4a 100644 --- a/docs/configuration/registries.md +++ b/docs/configuration/registries.md @@ -335,8 +335,8 @@ You can authenticate against an Azure Container Registry using Azure Managed Ide ```yaml registries: - name: ACR example with external script - api_url: https://acrexample.azurecr.io/ - prefix: acrexample.azurecr.io + api_url: https://acr-example.azurecr.io/ + prefix: acr-example.azurecr.io credentials: ext:/app/scripts/acr-login.sh credsexpire: 10h ``` @@ -347,7 +347,7 @@ The script should contain the name of the registry: acr-login.sh: | #!/bin/sh LOGIN=$(az login --identity) - REGISTRY="acrexample" + REGISTRY="acr-example" TOKEN=$(az acr login --name $REGISTRY --expose-token --output tsv --query accessToken) echo "00000000-0000-0000-0000-000000000000:$TOKEN" ```