From 3f1ce86ff8856efd845993d8a1c43c48c3ad7aa3 Mon Sep 17 00:00:00 2001 From: Madison Grubb Date: Fri, 29 Aug 2025 16:59:45 -0400 Subject: [PATCH] fix kubectl version dl --- .woodpecker/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/ci.yaml b/.woodpecker/ci.yaml index 6de412b..8d9263a 100644 --- a/.woodpecker/ci.yaml +++ b/.woodpecker/ci.yaml @@ -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/