fix docker build for stable (#6118)

This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-07-21 19:34:10 +03:00 committed by Arkadiy Paronyan
parent 6c58232036
commit f48058725c

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
cd docker/hub cd docker/hub
if [ "$1" == "latest" ]; then DOCKER_BUILD_TAG="beta-release"; fi DOCKER_BUILD_TAG=$1
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag ethcore/parity:$1 . echo "Docker build tag: " $DOCKER_BUILD_TAG
docker push ethcore/parity:$1 docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag parity/parity:$DOCKER_BUILD_TAG .
docker run -it parity/parity:$DOCKER_BUILD_TAG -v
docker push parity/parity:$DOCKER_BUILD_TAG