Update catalog api URL

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 01:26:58 +01:00
parent 2b4bfc56ca
commit 8a7ff394ce
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -14,7 +14,7 @@ git reset --hard origin/master
### ---- ###
echo "Fetching latest version..."
LATEST=$(curl -sSLf 'https://latest.luzifer.io/catalog-api/jenkins/lts.txt?p=version')
LATEST=$(curl -sSLf 'https://lv.luzifer.io/v1/catalog/jenkins/lts/version')
echo "Testing pull for jenkins/jenkins:${LATEST}..."
docker pull jenkins/jenkins:${LATEST}
@ -31,7 +31,7 @@ docker build .
echo "Updating repository..."
git add Dockerfile
git -c user.name='Travis Automated Update' -c user.email='travis@luzifer.io' \
commit -m "Jenkins ${LATEST}"
commit -m "Jenkins ${LATEST}"
git tag ${LATEST}
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/Luzifer/docker-jenkins.git master --tags