Skip to content

Commit 8db229d

Browse files
authored
User Azure CLI for ACR login (microsoft#582)
1 parent c504c60 commit 8db229d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/yaml/steps/linux/binaries.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55

66
steps:
77
# Login to ACR
8-
- task: Docker@2
8+
- task: AzureCLI@2
99
displayName: Docker Login
1010
inputs:
11-
containerRegistry: VS Diagnostics Dev (ProdDiagBuild)
12-
command: login
11+
azureSubscription: 'VS Diagnostics Dev (ProdDiagBuild)'
12+
scriptType: bash
13+
scriptLocation: inlineScript
14+
inlineScript: 'az acr login --name proddiagbuild'
1315

1416
# Build binaries
1517
- task: Bash@3

0 commit comments

Comments
 (0)