From dcd8b4e1b48ce85805c0fd11ee247196e316a21b Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Fri, 14 Apr 2023 13:37:32 +0200 Subject: [PATCH] use a proxy for the go-generate step --- .drone.star | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.star b/.drone.star index ee510b7a0..2cdbe6eea 100644 --- a/.drone.star +++ b/.drone.star @@ -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], }, ]