use proxy for build step
This commit is contained in:
@@ -2225,6 +2225,14 @@ def build():
|
|||||||
"commands": [
|
"commands": [
|
||||||
"retry -t 3 'make -C ocis build'",
|
"retry -t 3 'make -C ocis build'",
|
||||||
],
|
],
|
||||||
|
"environment": {
|
||||||
|
"HTTP_PROXY": {
|
||||||
|
"from_secret": "drone_http_proxy",
|
||||||
|
},
|
||||||
|
"HTTPS_PROXY": {
|
||||||
|
"from_secret": "drone_http_proxy",
|
||||||
|
},
|
||||||
|
},
|
||||||
"volumes": [stepVolumeGo],
|
"volumes": [stepVolumeGo],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user