From 1959f0ae125d401e6b0e33db3c26fdbd577f6388 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Tue, 14 Mar 2017 20:21:51 +0300 Subject: [PATCH] fix docker-build [ci skip] --- scripts/docker-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh index b9724cd2f..01bffc48f 100644 --- a/scripts/docker-build.sh +++ b/scripts/docker-build.sh @@ -1,4 +1,5 @@ #!/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