feat: add helm release
Build / build-8 (pull_request) Successful in 1m55s
Build / build-9 (pull_request) Successful in 4m35s

- helm release in fedora repos is behind the latest
- some helm releases require a newer version
This commit is contained in:
2026-01-20 21:20:45 +11:00
parent b15fc0612f
commit 8e8285546b
3 changed files with 76 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/bash
set -e
# Download the required files
curl -L -o /app/helm.tar.gz https://get.helm.sh/helm-v${PACKAGE_VERSION}-linux-amd64.tar.gz
# Extract the binary
cd /app
tar -xzf helm.tar.gz
# Make the binary executable
chmod +x /app/linux-amd64/helm
# Process the nfpm.yaml template with environment variables
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm