From 1afb6a22601b57db8bf956cb83fc8ee825bfa5b7 Mon Sep 17 00:00:00 2001 From: d8dfun Date: Thu, 2 Oct 2025 23:03:39 +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 d5421c261..d8de64861 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -44,10 +44,6 @@ jobs: - name: 构建并推送 Virtual Kubelet 镜像 uses: docker/build-push-action@v5 - env: - HTTP_PROXY: "http://10.0.0.52:7890" - HTTPS_PROXY: "http://10.0.0.52:7890" - ALL_PROXY: "socks://10.0.0.52:7890" with: context: . file: ./Dockerfile # 确保Dockerfile路径正确 @@ -57,6 +53,9 @@ jobs: build-args: | GOLANG_CI_LINT_VERSION=v1.68.0 BUILD_TAGS="" + HTTP_PROXY=http://10.0.0.52:7890 + HTTPS_PROXY=http://10.0.0.52:7890 + ALL_PROXY=socks://10.0.0.52:7890 labels: | org.opencontainers.image.title=Virtual Kubelet org.opencontainers.image.description=Kubernetes Virtual Kubelet implementation