Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 01:25:01 +01:00
parent 5111e8f8e2
commit c991b9b99f
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -9,7 +9,7 @@ git reset --hard origin/master
### ---- ### ### ---- ###
version=$(curl -s "https://lv.luzifer.io/catalog-api/openfire/latest.txt?p=version") version=$(curl -s "https://lv.luzifer.io/v1/catalog/openfire/latest/version")
versionVar=$(echo "${version}" | sed 's/\./_/g') versionVar=$(echo "${version}" | sed 's/\./_/g')
grep -q "OPENFIRE_VERSION=${versionVar}" Dockerfile && exit 0 || echo "Update required" grep -q "OPENFIRE_VERSION=${versionVar}" Dockerfile && exit 0 || echo "Update required"