use a proxy for the go-generate step

This commit is contained in:
Michael Barz
2023-04-14 13:37:32 +02:00
parent da62451a97
commit dcd8b4e1b4

View File

@@ -2007,6 +2007,14 @@ def makeGoGenerate(module):
"commands": [
"retry -t 3 '%s ci-go-generate'" % (make),
],
"environment": {
"HTTP_PROXY": {
"from_secret": "drone_http_proxy",
},
"HTTPS_PROXY": {
"from_secret": "drone_http_proxy",
},
},
"volumes": [stepVolumeGo],
},
]