fix(cicd): replace dead daocloud kubectl mirror with official k8s.io
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 3m11s
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 3m11s
DaoCloud mirror returns 404 for kubectl v1.28.2, causing Setup Kubectl step to hang. Use official dl.k8s.io with cdn.dl.k8s.io as fallback. Also update pinned dependency versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5fb71b99f9
commit
9144770130
@ -39,7 +39,8 @@ jobs:
|
||||
|
||||
- name: Setup Kubectl
|
||||
run: |
|
||||
curl -LO "https://files.m.daocloud.io/dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl"
|
||||
curl -LO "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" || \
|
||||
curl -LO "https://cdn.dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl"
|
||||
chmod +x kubectl
|
||||
mv kubectl /usr/local/bin/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user