Fix kubectl --short error

This commit is contained in:
Keyvan Ebrahimpour 2025-04-11 09:28:24 +00:00
parent 0b1a267807
commit 5e503aafd0

View file

@ -39,7 +39,8 @@ jobs:
echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > ~/.kube/config echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > ~/.kube/config
chmod 600 ~/.kube/config chmod 600 ~/.kube/config
export KUBECONFIG=~/.kube/config export KUBECONFIG=~/.kube/config
kubectl version --short kubectl version --client
kubectl cluster-info
shell: bash shell: bash
- name: Deploy to Kubernetes - name: Deploy to Kubernetes