更新 .github/workflows/build.yaml
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2025-10-02 23:52:12 +00:00
parent b47ed9f622
commit 34409f04a3

View File

@@ -29,11 +29,12 @@ jobs:
- name: 设置带代理的 Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
network=host
env.http_proxy=http://10.0.0.52:7890
env.https_proxy=http://10.0.0.52:7890
env.all_proxy=socks://10.0.0.52:7890
driver: docker # 明确指定使用 docker 驱动
# driver-opts: |
# network=host
# env.http_proxy=http://10.0.0.52:7890
# env.https_proxy=http://10.0.0.52:7890
# env.all_proxy=socks://10.0.0.52:7890
- name: 从标签名中提取版本号
id: extract_version