diff --git a/.woodpecker.star b/.woodpecker.star index bc47d818d1..cad5687ca1 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -1619,7 +1619,15 @@ def binaryRelease(ctx, arch, depends_on = []): { "name": "build", "image": OC_CI_GOLANG, - "environment": CI_HTTP_PROXY_ENV, + "environment": { + "VERSION": (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "daily"), + "HTTP_PROXY": { + "from_secret": "ci_http_proxy", + }, + "HTTPS_PROXY": { + "from_secret": "ci_http_proxy", + }, + }, "commands": [ "make -C opencloud release-%s" % arch, ],