Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 02:05:05 +01:00
parent eaad5e387b
commit 7d2e44c706
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -12,7 +12,7 @@ git reset --hard origin/master
### ---- ###
echo "Fetching latest version..."
LATEST=$(curl -sSLf 'https://latest.luzifer.io/catalog-api/vault/latest.txt?p=version')
LATEST=$(curl -sSLf 'https://lv.luzifer.io/v1/catalog/vault/latest/version')
echo "Getting SHA256SUM for Linux AMD64 version..."
SHASUM=$(curl -s https://releases.hashicorp.com/vault/${LATEST}/vault_${LATEST}_SHA256SUMS | awk '/linux_amd64/{print $1}')
@ -33,7 +33,7 @@ docker build .
echo "Updating repository..."
git add Dockerfile
git -c user.name='Travis Automated Update' -c user.email='travis@luzifer.io' \
commit -m "Vault ${LATEST}"
commit -m "Vault ${LATEST}"
git tag ${LATEST}
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/luzifer-docker/vault.git master --tags