From 6f5cc4da2032759175aceeb2446f7a811c2c18fd Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 13 Jan 2025 22:16:42 +0100 Subject: [PATCH] ci(azure-pipelines): perform docker-login before any docker calls --- azure-pipelines.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 3eda3598e..877106efa 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -22,6 +22,12 @@ jobs: endpoint: devfra steps: - checkout: self + - task: Docker@2 + name: dockerLoginDevFra + displayName: Docker Login to devfra + inputs: + command: login + containerRegistry: devFra - task: Bash@3 displayName: Debug shell output inputs: @@ -39,12 +45,6 @@ jobs: --build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \ --build-arg PROJECT_DIR=/fradrive \ . - - task: Docker@2 - name: dockerLoginDevFra - displayName: Docker Login to devfra - inputs: - command: login - containerRegistry: devFra - task: Docker@2 name: dockerBuild displayName: Backend image build test