From 2b76d673f882c40e0757e4383aa5df87f5a5dd52 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 14 Feb 2025 21:32:49 +0100 Subject: [PATCH] ci(azure-pipelines): add build-args to release build for network access --- .azure-pipelines/templates/jobs/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azure-pipelines/templates/jobs/release.yaml b/.azure-pipelines/templates/jobs/release.yaml index 36bc6acae..0ac1ec82b 100644 --- a/.azure-pipelines/templates/jobs/release.yaml +++ b/.azure-pipelines/templates/jobs/release.yaml @@ -47,6 +47,10 @@ jobs: --build-arg PROJECT_DIR=$(Build.Repository.LocalPath) \ --build-arg IN_CI=true \ --build-arg IN_CONTAINER=true \ + --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' \ + --build-arg FRAPORT_NOPROXY=dev.azure.com,*.dev.azure.com,*.fraport.de,*.frankfurt-airport.de \ . - task: Docker@2 displayName: Push container to registry