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

fix build-docker script

parent bdaded57
...@@ -35,6 +35,7 @@ push() { ...@@ -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
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