Commit 2428e6f3 authored by Eric Chiang's avatar Eric Chiang

fix build-docker script

parent bdaded57
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment