fix build-docker script

This commit is contained in:
Eric Chiang 2016-06-28 13:35:41 -07:00
parent bdaded57b8
commit 2428e6f31a

View file

@ -35,6 +35,7 @@ push() {
docker push $repo:latest docker push $repo:latest
} }
test -z "$1" && build && push build
test "$1" = "push" && build && push if [[ "push" == "$1" ]]; then
test "$1" = "build" && build push
fi