ci: pass proxy env to JD01 PaC BuildKit
Pipelines as Code CI / agentrun-jd01-v02-ci-6d71118fe32a4f1ab35491ba9dc1ccb4e57cc48a Failed
Pipelines as Code CI / agentrun-jd01-v02-ci-6d71118fe32a4f1ab35491ba9dc1ccb4e57cc48a Failed
This commit is contained in:
@@ -172,6 +172,22 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: BUILDKITD_FLAGS
|
- name: BUILDKITD_FLAGS
|
||||||
value: --oci-worker-no-process-sandbox --oci-worker-net=host --allow-insecure-entitlement network.host
|
value: --oci-worker-no-process-sandbox --oci-worker-net=host --allow-insecure-entitlement network.host
|
||||||
|
- name: HTTP_PROXY
|
||||||
|
value: $(params.build-http-proxy)
|
||||||
|
- name: http_proxy
|
||||||
|
value: $(params.build-http-proxy)
|
||||||
|
- name: HTTPS_PROXY
|
||||||
|
value: $(params.build-https-proxy)
|
||||||
|
- name: https_proxy
|
||||||
|
value: $(params.build-https-proxy)
|
||||||
|
- name: ALL_PROXY
|
||||||
|
value: $(params.build-https-proxy)
|
||||||
|
- name: all_proxy
|
||||||
|
value: $(params.build-https-proxy)
|
||||||
|
- name: NO_PROXY
|
||||||
|
value: $(params.build-no-proxy)
|
||||||
|
- name: no_proxy
|
||||||
|
value: $(params.build-no-proxy)
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user