更新 .github/workflows/build.yaml
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user