diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh index b9724cd2f..294e172eb 100644 --- a/scripts/docker-build.sh +++ b/scripts/docker-build.sh @@ -1,4 +1,6 @@ #!/bin/bash cd docker/hub -docker build --build-arg BUILD_TAG=$1 --no-cache=true --tag ethcore/parity:$1 . +if [ "$1" == "latest" ]; then DOCKER_BUILD_TAG="beta-release"; fi +docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag ethcore/parity:$1 . docker push ethcore/parity:$1 +