Install latest version of helm via apt

This commit is contained in:
Caesar2011
2026-05-19 00:06:18 +02:00
parent 6300308da2
commit 1db60bec36

View File

@@ -24,8 +24,14 @@ runs:
- name: Install Helm
shell: bash
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4 | bash
helm version --short || { echo "[ERROR] helm install failed"; exit 1; }
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/helm.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/helm.gpg] https://packages.buildkite.com/helm-linux/helm-debian/any/ any main" \
| sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update -qq
sudo apt-get install -y helm
helm version --short
- name: Inject image tag into chart values
shell: bash