Update workflow with kubectl installation
This commit is contained in:
@@ -16,6 +16,14 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup kubectl
|
||||||
|
run: |
|
||||||
|
echo "Installing kubectl..."
|
||||||
|
curl -LO "https://dl.k8s.io/release/v1.28.4/bin/linux/amd64/kubectl"
|
||||||
|
chmod +x kubectl
|
||||||
|
mv kubectl /usr/local/bin/
|
||||||
|
kubectl version --client
|
||||||
|
|
||||||
- name: Deploy to K3s
|
- name: Deploy to K3s
|
||||||
run: |
|
run: |
|
||||||
echo "Deploying to K3s cluster..."
|
echo "Deploying to K3s cluster..."
|
||||||
|
|||||||
Reference in New Issue
Block a user