mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Error if TAG_BASE is empty.
This commit is contained in:
parent
d7386bd962
commit
325f51aba5
2 changed files with 8 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ Build() {
|
|||
}
|
||||
|
||||
TAG_BASE="$1"
|
||||
if [ -z "$TAG_BASE" ]; then
|
||||
echo "We cannot tag Docker images with an empty string!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Step 1: Certbot core Docker
|
||||
Build "$DOCKER_HUB_ORG/certbot" "$TAG_BASE" "$REPO_ROOT" "$WORK_DIR/core"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@ Deploy() {
|
|||
}
|
||||
|
||||
TAG_BASE="$1" # Eg. v0.35.0 or nightly
|
||||
if [ -z "$TAG_BASE" ]; then
|
||||
echo "We cannot tag Docker images with an empty string!" >&2
|
||||
exit 1
|
||||
fi
|
||||
source "$WORK_DIR/lib/common"
|
||||
|
||||
# Step 1: Certbot core Docker
|
||||
|
|
|
|||
Loading…
Reference in a new issue