11 lines
335 B
Bash
Executable File
11 lines
335 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
set -e
|
|
|
|
wget -O /app/sops https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/getsops/sops/releases/download/v${PACKAGE_VERSION}/sops-v${PACKAGE_VERSION}.linux.amd64
|
|
chmod +x /app/sops
|
|
|
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
|
|
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|