fix cicd
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 31s

This commit is contained in:
repair-agent 2026-04-02 16:07:43 +08:00
parent 7e44d5b786
commit 34938a1aa0

View File

@ -80,10 +80,9 @@ jobs:
- name: Setup Kubectl - name: Setup Kubectl
run: | run: |
curl -LO "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" || \ cp /opt/gitea/kubectl-bin /usr/local/bin/kubectl 2>/dev/null || \
curl -LO "https://mirrors.aliyun.com/kubernetes/kubectl/v1.28.2/bin/linux/amd64/kubectl" { curl -sL "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" -o kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/; }
chmod +x kubectl kubectl version --client
mv kubectl /usr/local/bin/
- name: Set kubeconfig - name: Set kubeconfig
run: | run: |