fix kubectl version dl
Some checks failed
ci/woodpecker/push/ci Pipeline failed

This commit is contained in:
Madison Grubb
2025-08-29 16:59:45 -04:00
parent ccb170201b
commit 3f1ce86ff8

View File

@@ -8,9 +8,10 @@ steps:
image: alpine:latest
commands:
- apk add --no-cache curl bash ca-certificates
- update-ca-certificates
- |
echo "Installing kubectl..."
KUBECTL_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt)
KUBECTL_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt | tr -d '\n')
curl -LO --fail https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/