ci(azure-pipelines): perform docker-login before any docker calls

This commit is contained in:
Sarah Vaupel 2025-01-13 22:16:42 +01:00
parent f140342e2d
commit 6f5cc4da20

View File

@ -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