From 1ed56d3bf3e75e1a6e80993f370a8126067afe3a Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 25 Sep 2019 08:30:38 -0500 Subject: [PATCH] Revert "try login before build and tag" This reverts commit 46151d93eeb6f59a1c4d1cbd24b4154009b03a1f. --- 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 b3e566137..4c4e52045 100644 --- a/azure-pipelines.web.yaml +++ b/azure-pipelines.web.yaml @@ -30,13 +30,6 @@ 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: @@ -49,6 +42,13 @@ 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: