更新 .github/workflows/build.yaml
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Failing after 55s

This commit is contained in:
2025-10-02 23:03:39 +00:00
parent 12784de8d3
commit 1afb6a2260

View File

@@ -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