#!/usr/bin/bash # Download the required files curl -L -o /app/vals.tar.gz https://github.com/helmfile/vals/releases/download/v${PACKAGE_VERSION}/vals_${PACKAGE_VERSION}_linux_amd64.tar.gz # Extract the binary cd /app tar -xzf vals.tar.gz # Make the binary executable chmod +x /app/vals # Build the RPM nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm