ci: Fix installation of kubectl and helm
Some checks failed
Deployment / container (push) Successful in 2m30s
Deployment / helm (push) Failing after 4s

This commit is contained in:
fleaz 2025-05-25 18:47:30 +02:00
parent 0b9a391bfa
commit 1eb936fe88
Signed by: fleaz
GPG key ID: 935474624265FE8F

View file

@ -26,8 +26,17 @@ jobs:
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: apt update && apt install kubectl helm
run: actions/checkout@v4
- name: Install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
mv kubectl /usr/bin/kubectl
- name: Install helm
run: |
cd /tmp
curl -L "https://get.helm.sh/helm-v3.18.0-rc.2-linux-amd64.tar.gz" -o helm.tgz
tar xf helm.tgz
helm liux-amd64/helm /usr/bin/helm
- name: Setup k8s context
run: |
echo "${{secrets.KUBE_API_CRT}}" > /tmp/ca.pem