fix: install kubectl from upstream release instead of apt
CI / CI (pull_request) Failing after 11m36s
CI / CI (pull_request) Failing after 11m36s
kubectl not in default Debian repos, download from Google release
This commit is contained in:
@@ -74,7 +74,10 @@ jobs:
|
|||||||
- name: Install kubectl
|
- name: Install kubectl
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y kubectl
|
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"
|
||||||
|
chmod +x kubectl
|
||||||
|
mv kubectl /usr/local/bin/
|
||||||
|
|
||||||
- name: Setup kubeconfig for Tekton
|
- name: Setup kubeconfig for Tekton
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user