From 1db60bec36db329362fd45a563332900b2ae47e1 Mon Sep 17 00:00:00 2001 From: Caesar2011 Date: Tue, 19 May 2026 00:06:18 +0200 Subject: [PATCH] Install latest version of helm via apt --- helm-package-push/action.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/helm-package-push/action.yml b/helm-package-push/action.yml index 64f998c..dc2f974 100644 --- a/helm-package-push/action.yml +++ b/helm-package-push/action.yml @@ -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