aboutsummaryrefslogtreecommitdiff
path: root/bake.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bake.sh')
-rwxr-xr-xbake.sh6
1 files changed, 6 insertions, 0 deletions
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