This commit is contained in:
@@ -94,8 +94,10 @@ jobs:
|
|||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Download and install kubectl
|
- name: Download and install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update -y
|
||||||
|
apt-get install -y curl
|
||||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||||
install -m 0755 kubectl /usr/local/bin/kubectl
|
install -m 0755 kubectl /usr/local/bin/kubectl
|
||||||
kubectl version --client
|
kubectl version --client
|
||||||
|
Reference in New Issue
Block a user