Skip to content

Commit

Permalink
use --password-stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Jul 8, 2024
1 parent d61f747 commit 6365e71
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/push-manual-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,9 @@ jobs:
run: |
set -e
sudo apt-get update
sudo apt-get install -y gnupg2 pass
mkdir -p ~/.docker && echo '{ "credsStore": "pass" }' > ~/.docker/config.json
# ACR login
ACR_REGISTRY_NAME=$(echo "$REGISTRY" | grep -oP '(.+)(?=\.azurecr\.io)')
az acr login --name $ACR_REGISTRY_NAME --username $TOKEN_NAME --password $PASSWORD
az acr login --name $ACR_REGISTRY_NAME --username $TOKEN_NAME --password-stdin $PASSWORD
# Setup build CLI
cd "$GITHUB_WORKSPACE/ref"
Expand Down

0 comments on commit 6365e71

Please sign in to comment.