diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 525ad7200..478568c38 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -17,10 +17,23 @@ jobs: command: login containerRegistry: devFra - task: Docker@2 - name: dockerBuildAndPush - displayName: Backend image build test + name: dockerBuild + displayName: Backend image build inputs: - command: buildAndPush + command: build + Dockerfile: docker/haskell/Dockerfile + buildContext: . + tags: | + $(Build.BuildNumber) + arguments: | + --build-arg HTTPS_PROXY=http://proxy.frankfurt-airport.de:8080 + --build-arg HTTP_PROXY=http://proxy.frankfurt-airport.de:8080 + --build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io' + - task: Docker@2 + name: dockerPush + displayName: Backend image push + inputs: + command: push Dockerfile: docker/haskell/Dockerfile buildContext: . tags: |