Skip to content

Commit 18dfd21

Browse files
Merge pull request #235249 from tejaswikolli-web/gitissue99879
code-snippet change
2 parents 6a0eec1 + d91f640 commit 18dfd21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/container-registry/container-registry-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ TOKEN=$(az acr login --name <acrName> --expose-token --output tsv --query access
7979
Then, run `docker login`, passing `00000000-0000-0000-0000-000000000000` as the username and using the access token as password:
8080

8181
```console
82-
docker login myregistry.azurecr.io --username 00000000-0000-0000-0000-000000000000 --password $TOKEN
82+
docker login myregistry.azurecr.io --username 00000000-0000-0000-0000-000000000000 --password-stdin <<< $TOKEN
8383
```
8484
Likewise, you can use the token returned by `az acr login` with the `helm registry login` command to authenticate with the registry:
8585

0 commit comments

Comments
 (0)