rpmbuilder/rpms/vals/resources/build.sh
Ben Vincent 699187341b
All checks were successful
Build / build-9 (pull_request) Successful in 38s
Build / build-8 (pull_request) Successful in 48s
feat: add vals package configuration
Add RPM package configuration for vals, a configuration management tool that validates and manages configuration values from various backends.
2025-10-04 14:26:56 +10:00

14 lines
382 B
Bash
Executable File

#!/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