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: