From 0b26b185ba07750b04d4826f2f77af458869429b Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 24 Sep 2019 20:41:01 -0500 Subject: [PATCH] wait until build succeeds before logging in to pkg reg --- azure-pipelines.web.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.web.yaml b/azure-pipelines.web.yaml index 10b04786f..71fad3918 100644 --- a/azure-pipelines.web.yaml +++ b/azure-pipelines.web.yaml @@ -5,12 +5,6 @@ pool: vmImage: "ubuntu-latest" steps: - - task: Docker@2 - displayName: login to github package registry - inputs: - containerRegistry: "GitHub Docker Package Registry - FilterLists" - command: login - - task: Docker@2 displayName: build inputs: @@ -23,6 +17,12 @@ steps: latest $(Build.BuildId) + - task: Docker@2 + displayName: login to github package registry + inputs: + containerRegistry: "GitHub Docker Package Registry - FilterLists" + command: login + - task: Docker@2 displayName: push inputs: