diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt index a8b63ee2..c7df08aa 100644 --- a/.github/actions/spelling/allow.txt +++ b/.github/actions/spelling/allow.txt @@ -1,3 +1,5 @@ +acr +ACR aic amd anyfield @@ -14,6 +16,7 @@ argoprojlabs args auths aws +azurecr babayaga baralias baz @@ -217,6 +220,7 @@ TODO toolchain Torvalds Tracef +tsv uber unmarshal unmarshals 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" ```