ARMHF publishing script - remove jq dependency

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
This commit is contained in:
Radoslav Dimitrov 2018-10-03 22:01:30 +00:00 committed by Alex Ellis
parent 7aa37c6c1e
commit d1a22df522

View File

@ -35,7 +35,7 @@ do
echo "Latest release: $TAG"
REPOSITORY=$(get_repo_name $i)
TAG_PRESENT=$(curl -s "https://hub.docker.com/v2/repositories/${REPOSITORY}/tags/${TAG}-armhf/" | jq -r ".detail")
TAG_PRESENT=$(curl -s "https://hub.docker.com/v2/repositories/${REPOSITORY}/tags/${TAG}-armhf/" | grep -Po '"detail": *"[^"]*"' | grep -o 'Not found')
if [ "$TAG_PRESENT" = "Not found" ]; then
make ci-armhf-build ci-armhf-push