Merge pull request #493 from ericchiang/fix-build-docker
Fix docker-build script
This commit is contained in:
commit
a95a2bfa1f
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue