mirror of
https://github.com/luzifer-docker/wordpress.git
synced 2024-12-20 15:11:18 +00:00
Update catalog api url
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f369fd12d0
commit
060a8e25ac
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ git reset --hard origin/master
|
||||||
|
|
||||||
### ---- ###
|
### ---- ###
|
||||||
|
|
||||||
version=$(curl -s "https://lv.luzifer.io/catalog-api/wordpress/latest.txt?p=version")
|
version=$(curl -s "https://lv.luzifer.io/v1/catalog/wordpress/latest/version")
|
||||||
grep -q "WP_VERSION=${version} " Dockerfile && exit 0 || echo "Update required"
|
grep -q "WP_VERSION=${version} " Dockerfile && exit 0 || echo "Update required"
|
||||||
|
|
||||||
wphash=$(curl -sSfL "https://github.com/WordPress/WordPress/archive/${version}.tar.gz" | sha256sum | cut -d ' ' -f 1)
|
wphash=$(curl -sSfL "https://github.com/WordPress/WordPress/archive/${version}.tar.gz" | sha256sum | cut -d ' ' -f 1)
|
||||||
|
|
Loading…
Reference in a new issue