From 795ee509b62be180fc6ff662b32da4fa034fce2c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 2 Dec 2021 01:49:08 +0100 Subject: [PATCH] Fix: Update catalog api url for vault download Signed-off-by: Knut Ahlers --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 4225fe1..07da890 100755 --- a/build.sh +++ b/build.sh @@ -39,7 +39,7 @@ echo "jenkins ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers.d/jenkins usermod -a -G docker jenkins # Install Vault for global usage -VAULT_VERSION=$(curl -sSfL "https://lv.luzifer.io/catalog-api/vault/latest.txt?p=version") +VAULT_VERSION=$(curl -sSfL "https://lv.luzifer.io/v1/catalog/vault/latest/version") curl -sSfLo vault.zip "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" unzip vault.zip rm vault.zip