From fb860644daf323f90b4cb55a1ead036ae6f578ed Mon Sep 17 00:00:00 2001 From: Jarvis Yang <45811933+jwhy89@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:28:23 -0500 Subject: [PATCH 1/2] Update allow.txt --- .github/actions/spelling/allow.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 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 2/2] 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" ```