File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ jobs:
1515
1616 - name : Install Minikube and Kubectl
1717 run : |
18- curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
19- sudo install minikube-linux-amd64 /usr/local/bin/minikube
20- curl -LO "https://dl.k8s.io/release/ $(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
21- chmod +x kubectl
22- sudo mv kubectl /usr/local/bin/
23-
18+ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
19+ sudo install minikube-linux-amd64 /usr/local/bin/minikube
20+ KUBECTL_VERSION= $(curl -L - s https://dl.k8s.io/release/stable.txt)
21+ curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/ kubectl
22+ chmod +x kubectl
23+ sudo mv kubectl /usr/local/bin/
2424 - name : Start Minikube with Docker driver
2525 run : |
2626 sudo apt-get update && sudo apt-get install -y conntrack
You can’t perform that action at this time.
0 commit comments