From 7e7ea47f3935c22ccc40b15139c2e763cec1e339 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 28 May 2020 21:00:30 +0200 Subject: [PATCH] ci: fix level of stages on build jobs --- azure-pipelines.yml | 66 ++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11e661290..dae4867ad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -147,42 +147,42 @@ stages: - job: build_server pool: vmImage: 'ubuntu-latest' - steps: - - task: Docker@2 - inputs: - containerRegistry: 'dockerhub' - repository: 'beryju/passbook' - command: 'buildAndPush' - Dockerfile: 'Dockerfile' - tags: '$(Build.SourceBranchName)' + steps: + - task: Docker@2 + inputs: + containerRegistry: 'dockerhub' + repository: 'beryju/passbook' + command: 'buildAndPush' + Dockerfile: 'Dockerfile' + tags: '$(Build.SourceBranchName)' - job: build_gatekeeper pool: vmImage: 'ubuntu-latest' - steps: - - task: CmdLine@2 - inputs: - script: cd gatekeeper - - task: Docker@2 - inputs: - containerRegistry: 'dockerhub' - repository: 'beryju/passbook-gatekeeper' - command: 'buildAndPush' - Dockerfile: 'Dockerfile' - tags: '$(Build.SourceBranchName)' + steps: + - task: CmdLine@2 + inputs: + script: cd gatekeeper + - task: Docker@2 + inputs: + containerRegistry: 'dockerhub' + repository: 'beryju/passbook-gatekeeper' + command: 'buildAndPush' + Dockerfile: 'Dockerfile' + tags: '$(Build.SourceBranchName)' - job: build_static pool: vmImage: 'ubuntu-latest' - steps: - - task: DockerCompose@0 - displayName: Run services - inputs: - dockerComposeFile: 'scripts/docker-compose.yml' - action: 'Run services' - buildImages: false - - task: Docker@2 - inputs: - containerRegistry: 'dockerhub' - repository: 'beryju/passbook-static' - command: 'buildAndPush' - Dockerfile: 'Dockerfile' - tags: '$(Build.SourceBranchName)' + steps: + - task: DockerCompose@0 + displayName: Run services + inputs: + dockerComposeFile: 'scripts/docker-compose.yml' + action: 'Run services' + buildImages: false + - task: Docker@2 + inputs: + containerRegistry: 'dockerhub' + repository: 'beryju/passbook-static' + command: 'buildAndPush' + Dockerfile: 'Dockerfile' + tags: '$(Build.SourceBranchName)'