fix action
Build and Deploy / build-and-deploy (push) Successful in 1m30s

This commit is contained in:
2026-06-04 17:41:02 +03:00
parent 2cc1245d12
commit 5f5c5de407
+6 -1
View File
@@ -57,7 +57,12 @@ jobs:
aarch64) KUBECTL_ARCH="arm64" ;;
armv7l) KUBECTL_ARCH="arm" ;;
esac
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${KUBECTL_ARCH}/kubectl"
VERSION=$(curl --http1.1 -Ls https://dl.k8s.io/release/stable.txt)
curl --http1.1 -LO \
"https://dl.k8s.io/release/${VERSION}/bin/linux/${KUBECTL_ARCH}/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/