From 4c66a021ec8226eb7ee3323ce5c23943dc746de6 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Tue, 14 Mar 2017 20:22:36 +0300 Subject: [PATCH] fix docker-build [ci skip] --- scripts/docker-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +