feat(ci): simplify kubectl installation command in build-and-deploy workflow
This commit is contained in:
1 file changed
+1
-3
@@ -42,12 +42,10 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install kubectl
|
||||
run: >
|
||||
run: |
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s
|
||||
https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
|
||||
chmod +x kubectl
|
||||
|
||||
sudo mv kubectl /usr/local/bin/
|
||||
- name: Create Kubeconfig for Deployment
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user