mirror of
https://github.com/luzifer-docker/vault.git
synced 2024-12-20 15:11:17 +00:00
Update catalog api url
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
eaad5e387b
commit
7d2e44c706
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ git reset --hard origin/master
|
||||||
### ---- ###
|
### ---- ###
|
||||||
|
|
||||||
echo "Fetching latest version..."
|
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..."
|
echo "Getting SHA256SUM for Linux AMD64 version..."
|
||||||
SHASUM=$(curl -s https://releases.hashicorp.com/vault/${LATEST}/vault_${LATEST}_SHA256SUMS | awk '/linux_amd64/{print $1}')
|
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..."
|
echo "Updating repository..."
|
||||||
git add Dockerfile
|
git add Dockerfile
|
||||||
git -c user.name='Travis Automated Update' -c user.email='travis@luzifer.io' \
|
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 tag ${LATEST}
|
||||||
|
|
||||||
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/luzifer-docker/vault.git master --tags
|
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/luzifer-docker/vault.git master --tags
|
||||||
|
|
Loading…
Reference in a new issue