From 8db229da369066ffe093eb589de3491be0fc1038 Mon Sep 17 00:00:00 2001 From: Justin Anderson Date: Mon, 17 Jun 2024 16:28:51 -0700 Subject: [PATCH] User Azure CLI for ACR login (#582) --- build/yaml/steps/linux/binaries.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/yaml/steps/linux/binaries.yaml b/build/yaml/steps/linux/binaries.yaml index 6c835906..07c31b80 100644 --- a/build/yaml/steps/linux/binaries.yaml +++ b/build/yaml/steps/linux/binaries.yaml @@ -5,11 +5,13 @@ steps: # Login to ACR -- task: Docker@2 +- task: AzureCLI@2 displayName: Docker Login inputs: - containerRegistry: VS Diagnostics Dev (ProdDiagBuild) - command: login + azureSubscription: 'VS Diagnostics Dev (ProdDiagBuild)' + scriptType: bash + scriptLocation: inlineScript + inlineScript: 'az acr login --name proddiagbuild' # Build binaries - task: Bash@3