From 46151d93eeb6f59a1c4d1cbd24b4154009b03a1f Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 25 Sep 2019 08:26:13 -0500 Subject: [PATCH] try login before build and tag --- azure-pipelines.web.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.web.yaml b/azure-pipelines.web.yaml index 4c4e52045..b3e566137 100644 --- a/azure-pipelines.web.yaml +++ b/azure-pipelines.web.yaml @@ -30,6 +30,13 @@ pool: vmImage: "ubuntu-latest" steps: + - task: Docker@2 + displayName: login to github package registry + inputs: + containerRegistry: "GitHub Docker Package Registry - FilterLists" + command: "login" + # condition: "and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))" + - task: Docker@2 displayName: build inputs: @@ -42,13 +49,6 @@ steps: latest $(Build.BuildId) - - task: Docker@2 - displayName: login to github package registry - inputs: - containerRegistry: "GitHub Docker Package Registry - FilterLists" - command: "login" - condition: "and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))" - - task: Docker@2 displayName: push inputs: