From a76ca11ca772b4307f7d15245691c77f42c9afe1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Sep 2026 15:11:46 +0700 Subject: [PATCH] fix: pass proxy variables to kaniko to fix composer timeout --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85f711c..cf90c6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,8 @@ stages: variables: NEXUS_PUSH_REGISTRY: "10.15.39.186:8082" IMAGE_NAME: "eosbpkd/sidata" + http_proxy: "http://10.15.39.186:8081" + https_proxy: "http://10.15.39.186:8081" build_image: stage: build @@ -21,6 +23,8 @@ build_image: --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $NEXUS_PUSH_REGISTRY/$IMAGE_NAME:$CI_COMMIT_SHA --destination $NEXUS_PUSH_REGISTRY/$IMAGE_NAME:latest + --build-arg http_proxy=$http_proxy + --build-arg https_proxy=$https_proxy --insecure --skip-tls-verify only: