更改kubectl的action为手动下载2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m20s
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m20s
This commit is contained in:
@@ -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 文件内容
|
||||
|
||||
Reference in New Issue
Block a user