diff --git a/.drone.star b/.drone.star index e23aaca51f..2cdbe6eeaa 100644 --- a/.drone.star +++ b/.drone.star @@ -477,6 +477,14 @@ def testOcisModule(ctx, module): "make -C %s ci-golangci-lint" % (module), "mv %s/checkstyle.xml cache/checkstyle/$(basename %s)_checkstyle.xml" % (module, module), ], + "environment": { + "HTTP_PROXY": { + "from_secret": "drone_http_proxy", + }, + "HTTPS_PROXY": { + "from_secret": "drone_http_proxy", + }, + }, "volumes": [stepVolumeGo], }, { @@ -1999,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], }, ]