fix: pass proxy variables to kaniko to fix composer timeout
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user