Skip to content

Commit

Permalink
fix set
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jun 21, 2019
1 parent cdd425c commit 1e00b79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Hass.io Build-env
######################
set -e
set +u

#### Variable ####

Expand Down Expand Up @@ -214,17 +215,12 @@ function run_build() {
local build_from=$5
local build_arch=$6
local docker_cli=("${!7}")
local docker_tags=("${!8}")

local docker_cli=()
local docker_tags=()
local push_images=()
local cache_tag="latest"
local metadata

if [ "$#" -eq 8 ]; then
docker_tags=("${!8}")
fi

# Overwrites
if [ -n "$DOCKER_HUB" ]; then repository="$DOCKER_HUB"; fi
if [ -n "$IMAGE" ]; then image="$IMAGE"; fi
Expand Down

0 comments on commit 1e00b79

Please sign in to comment.