diff --git a/contrib/publish-armhf.sh b/contrib/publish-armhf.sh index 6a78f9ab8d94a421f97c553b8bb2e45f74b7ca61..aeb8e08ae5174a3530227f5a611e8891c3d71310 100755 --- a/contrib/publish-armhf.sh +++ b/contrib/publish-armhf.sh @@ -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