mirror of
https://github.com/luzifer-docker/jenkins.git
synced 2024-11-09 09:00:04 +00:00
Update catalog api URL
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2b4bfc56ca
commit
8a7ff394ce
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ git reset --hard origin/master
|
||||||
### ---- ###
|
### ---- ###
|
||||||
|
|
||||||
echo "Fetching latest version..."
|
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}..."
|
echo "Testing pull for jenkins/jenkins:${LATEST}..."
|
||||||
docker pull jenkins/jenkins:${LATEST}
|
docker pull jenkins/jenkins:${LATEST}
|
||||||
|
@ -31,7 +31,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 "Jenkins ${LATEST}"
|
commit -m "Jenkins ${LATEST}"
|
||||||
git tag ${LATEST}
|
git tag ${LATEST}
|
||||||
|
|
||||||
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/Luzifer/docker-jenkins.git master --tags
|
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/Luzifer/docker-jenkins.git master --tags
|
||||||
|
|
Loading…
Reference in a new issue