mirror of
https://github.com/luzifer-docker/jenkins.git
synced 2024-11-08 08:30:02 +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..."
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue