diff --git a/build-docker b/build-docker index 47de7278..4b07254c 100755 --- a/build-docker +++ b/build-docker @@ -35,6 +35,7 @@ push() { docker push $repo:latest } -test -z "$1" && build && push -test "$1" = "push" && build && push -test "$1" = "build" && build +build +if [[ "push" == "$1" ]]; then + push +fi