Merge pull request #493 from ericchiang/fix-build-docker

Fix docker-build script
This commit is contained in:
Eric Chiang 2016-06-28 13:51:37 -07:00 committed by GitHub
commit a95a2bfa1f

View file

@ -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