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