Skip to content

Commit

Permalink
hack: treat unset variables as an error
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
(cherry picked from commit 886b1da)
  • Loading branch information
crazy-max authored and tonistiigi committed Feb 13, 2023
1 parent 24c991b commit a980d83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/dockerfile/cmd/dockerfile-frontend/hack/release
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash

. $(dirname $0)/../../../../../hack/util
set -e
set -eu

: ${PLATFORMS=}
: ${DAILY_TARGETS=}
: "${PLATFORMS=}"
: "${DAILY_TARGETS=}"

usage() {
echo "$0 (master|tag|daily) (tag|channel) <repo> [push]"
Expand Down

0 comments on commit a980d83

Please sign in to comment.