Skip to content

Commit f6bde23

Browse files
committed
Fix: Install kubectl in CI workflow
1 parent bb27ebc commit f6bde23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
env:
5555
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG }}
5656
run: |
57+
# Install kubectl
58+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
59+
chmod +x kubectl
60+
sudo mv kubectl /usr/local/bin/
61+
5762
# Setup kubeconfig
5863
echo "$KUBECONFIG_CONTENT" | base64 -d > /tmp/kubeconfig
5964
export KUBECONFIG=/tmp/kubeconfig

0 commit comments

Comments
 (0)