diff --git a/.woodpecker/ci.yaml b/.woodpecker/ci.yaml index 78d4a19..6de412b 100644 --- a/.woodpecker/ci.yaml +++ b/.woodpecker/ci.yaml @@ -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/ - |