mirror of
https://github.com/luzifer-docker/wordpress.git
synced 2024-11-08 12:50:01 +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"
|
||||
|
||||
wphash=$(curl -sSfL "https://github.com/WordPress/WordPress/archive/${version}.tar.gz" | sha256sum | cut -d ' ' -f 1)
|
||||
|
|
Loading…
Reference in a new issue