use proxy for build step

This commit is contained in:
Michael Barz
2023-04-19 12:45:16 +02:00
parent 0b04edd0d8
commit 93ea112a17
+8
View File
@@ -2225,6 +2225,14 @@ def build():
"commands": [
"retry -t 3 'make -C ocis build'",
],
"environment": {
"HTTP_PROXY": {
"from_secret": "drone_http_proxy",
},
"HTTPS_PROXY": {
"from_secret": "drone_http_proxy",
},
},
"volumes": [stepVolumeGo],
},
]