From 1c906b12bebc7516d15691d054c3e97c0551c38c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 29 May 2020 10:04:23 +0200 Subject: [PATCH] ci: set static network for static build --- azure-pipelines.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4a63bb065..c773ff6de 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -181,9 +181,6 @@ stages: dockerComposeFile: 'scripts/docker-compose.yml' action: 'Run services' buildImages: false - - task: CmdLine@2 - inputs: - script: docker network ls - task: Docker@2 inputs: containerRegistry: 'dockerhub' @@ -191,7 +188,7 @@ stages: command: 'build' Dockerfile: 'static.Dockerfile' tags: '$(Build.SourceBranchName)' - arguments: "--network=$(docker network ls | grep github | awk '{print $1}')" + arguments: "--network=beryjupassbook_default" - task: Docker@2 inputs: containerRegistry: 'dockerhub'