From 39936056155d197dc911933a89a70cdf1f178be7 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Tue, 1 Nov 2022 14:37:08 -0400 Subject: Add check for jq, update nginx versions --- bake.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bake.sh') diff --git a/bake.sh b/bake.sh index 2ea23fa..bc188db 100755 --- a/bake.sh +++ b/bake.sh @@ -14,6 +14,12 @@ else exit 1 fi +# check for jq +if ! command -v jq 2>&1 >/dev/null; then + echo "could not find jq, exiting" >&2 + exit 1 +fi + # if no registry is provided, tag image as "local" registry registry="${REGISTRY:-local}" echo "using registry $registry..." >&2 -- cgit v1.2.3