try new kubectl download url
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
Madison Grubb
2025-08-29 16:57:51 -04:00
parent c6f2e13f4d
commit ccb170201b

View File

@@ -7,11 +7,11 @@ steps:
- name: validate-manifests
image: alpine:latest
commands:
- apk add --no-cache curl bash
- apk add --no-cache curl bash ca-certificates
- |
echo "Installing kubectl..."
KUBECTL_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
curl -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
KUBECTL_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt)
curl -LO --fail https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/
- |