Skip to content

Commit

Permalink
Merge pull request #1 from jwhy89/patch-1
Browse files Browse the repository at this point in the history
Azure spelling fixes
  • Loading branch information
xescab authored Sep 6, 2023
2 parents 1e34968 + 011ca07 commit 020d0da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
acr
ACR
aic
amd
anyfield
Expand All @@ -14,6 +16,7 @@ argoprojlabs
args
auths
aws
azurecr
babayaga
baralias
baz
Expand Down Expand Up @@ -217,6 +220,7 @@ TODO
toolchain
Torvalds
Tracef
tsv
uber
unmarshal
unmarshals
Expand Down
6 changes: 3 additions & 3 deletions docs/configuration/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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"
```
Expand Down

0 comments on commit 020d0da

Please sign in to comment.