From 5480aa25b8095752de75e5e2646290a6537e2f69 Mon Sep 17 00:00:00 2001 From: d8dfun Date: Fri, 3 Oct 2025 02:13:12 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.github/workflows/build.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 09dd37afb..c8c05c74e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,6 +30,9 @@ jobs: with: driver: docker # 明确指定使用 docker 驱动 network: host + driver-opts: | + env.http_proxy=http://10.0.0.52:7890 + env.https_proxy=http://10.0.0.52:7890 - name: 从标签名中提取版本号 @@ -58,10 +61,6 @@ jobs: build-args: | GOLANG_CI_LINT_VERSION=v1.68.0 BUILD_TAGS="" - HTTP_PROXY=http://10.0.0.52:7890 # 添加HTTP代理 - HTTPS_PROXY=http://10.0.0.52:7890 # 添加HTTPS代理 - # GOPROXY=https://goproxy.cn,direct - # GOSUMDB=off labels: | org.opencontainers.image.title=Virtual Kubelet org.opencontainers.image.description=Kubernetes Virtual Kubelet implementation