mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
ARMHF publishing script - remove jq dependency
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
This commit is contained in:
parent
7aa37c6c1e
commit
d1a22df522
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user