From abc24006e500db12a27b1602b3a5ca9d6790b229 Mon Sep 17 00:00:00 2001 From: James Suplizio Date: Tue, 5 Nov 2024 12:02:35 -0800 Subject: [PATCH] Remove docker-pull-image.yml --- .../templates/steps/docker-pull-image.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 eng/common/pipelines/templates/steps/docker-pull-image.yml diff --git a/eng/common/pipelines/templates/steps/docker-pull-image.yml b/eng/common/pipelines/templates/steps/docker-pull-image.yml deleted file mode 100644 index 61e59884f7..0000000000 --- a/eng/common/pipelines/templates/steps/docker-pull-image.yml +++ /dev/null @@ -1,19 +0,0 @@ -parameters: - - name: ServiceConnectionName - type: string - default: azuresdkimages_container-registry - - name: ImageId - type: string -steps: - - task: AzureCLI@2 - displayName: Docker Auth and Pull - inputs: - azureSubscription: ${{ parameters.ServiceConnectionName }} - scriptType: pscore - scriptLocation: inlineScript - inlineScript: | - # azuresdkimages.azurecr.io/pyrefautocr:latest -> azuresdkimages - $containerRegistryName = ("${{ parameters.ImageId }}" -split "\/")[0].Replace(".azurecr.io", "") - - az acr login --name $containerRegistryName - docker pull '${{ parameters.ImageId }}'