fix docker-build

[ci skip]
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-03-14 20:23:16 +03:00 committed by GitHub
parent f067f12e99
commit 0721e33dd3

View File

@ -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