mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-22 07:16:06 +02:00
Update 99-run.sh
This commit is contained in:
@@ -123,7 +123,7 @@ for f in */; do
|
|||||||
tail -n 1
|
tail -n 1
|
||||||
) && \
|
) && \
|
||||||
DATE=$(
|
DATE=$(
|
||||||
curl -f -L -s --fail "https://hub.docker.com/v2/repositories/${DOCKERHUB_REPO}/${DOCKERHUB_IMAGE}/tags/?page_size=100" |
|
curl -f -L -s --fail "https://hub.docker.com/v2/repositories/${DOCKERHUB_REPO}/${DOCKERHUB_IMAGE}/tags/?page_size=$LISTSIZE" |
|
||||||
jq '.results[] | select(.name==$LASTVERSION) | .last_updated' -r --arg LASTVERSION "$LASTVERSION"
|
jq '.results[] | select(.name==$LASTVERSION) | .last_updated' -r --arg LASTVERSION "$LASTVERSION"
|
||||||
) && \
|
) && \
|
||||||
DATE="${DATE%T*}" && \
|
DATE="${DATE%T*}" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user