ci(azure-pipelines): perform registry login/logout for testing

This commit is contained in:
Sarah Vaupel 2025-02-10 15:13:02 +01:00
parent 9f411e329d
commit 9f49cef214

View File

@ -131,6 +131,11 @@ stages:
- job: Test_${{service.name}}
displayName: Run ${{service.name}} tests
steps:
- task: Docker@2
displayName: Login to container registry
inputs:
command: login
containerRegistry: devfra
- task: Bash@3
displayName: Start database container for testing
inputs:
@ -145,6 +150,11 @@ stages:
parameters:
makeJob: test
makeService: ${{service.name}}
- task: Docker@2
displayName: Logout from container registry
inputs:
command: logout
containerRegistry: devfra
- job: TestReport_${{service.name}}
displayName: Upload test reports for ${{service.name}}
steps: