diff --git a/rpms/vault/resources/build.sh b/rpms/vault/resources/build.sh index ce7035d..8034de7 100755 --- a/rpms/vault/resources/build.sh +++ b/rpms/vault/resources/build.sh @@ -6,7 +6,7 @@ set -e dnf install -y unzip # Download and extract vault -curl -L -o /app/vault.zip https://releases.hashicorp.com/vault/${PACKAGE_VERSION}/vault_${PACKAGE_VERSION}_linux_amd64.zip +curl -L -o /app/vault.zip https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/hashicorp-releases/vault/${PACKAGE_VERSION}/vault_${PACKAGE_VERSION}_linux_amd64.zip unzip vault.zip # Process the nfpm.yaml template with environment variables