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/