更改kubectl的action为手动下载2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m20s

This commit is contained in:
bamanker
2026-01-04 23:08:07 +08:00
parent 4baa013d02
commit c052a11c4b

View File

@@ -147,8 +147,8 @@ jobs:
run: |
curl -LO "https://dl.k8s.io/release/v1.33.0/bin/linux/amd64/kubectl" &&
chmod +x kubectl &&
mv kubectl /usr/local/bin/ &&
kubectl version
mv kubectl /usr/local/bin/
# kubectl version
- name: Configure kubeconfig
# 假设您的 KUBE_CONFIG 秘密是 Base64 编码的 kubeconfig 文件内容