更新 .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:
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@@ -30,6 +30,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
driver: docker # 明确指定使用 docker 驱动
|
driver: docker # 明确指定使用 docker 驱动
|
||||||
network: host
|
network: host
|
||||||
|
driver-opts: |
|
||||||
|
env.http_proxy=http://10.0.0.52:7890
|
||||||
|
env.https_proxy=http://10.0.0.52:7890
|
||||||
|
|
||||||
|
|
||||||
- name: 从标签名中提取版本号
|
- name: 从标签名中提取版本号
|
||||||
@@ -58,10 +61,6 @@ jobs:
|
|||||||
build-args: |
|
build-args: |
|
||||||
GOLANG_CI_LINT_VERSION=v1.68.0
|
GOLANG_CI_LINT_VERSION=v1.68.0
|
||||||
BUILD_TAGS=""
|
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: |
|
labels: |
|
||||||
org.opencontainers.image.title=Virtual Kubelet
|
org.opencontainers.image.title=Virtual Kubelet
|
||||||
org.opencontainers.image.description=Kubernetes Virtual Kubelet implementation
|
org.opencontainers.image.description=Kubernetes Virtual Kubelet implementation
|
||||||
|
|||||||
Reference in New Issue
Block a user