mirror of
https://github.com/luzifer-docker/vault.git
synced 2024-09-08 00:59:06 +00:00
Update catalog api url
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
eaad5e387b
commit
7d2e44c706
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user