fix docker-build

[ci skip]
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-03-14 20:21:51 +03:00 committed by GitHub
parent 57770ce84c
commit 1959f0ae12

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
cd docker/hub 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 docker push ethcore/parity:$1