Revert "fix docker build in stable"

This reverts commit b4ef7bbc5b.
This commit is contained in:
arkpar
2017-07-20 08:22:32 +02:00
parent 4fac960ce4
commit f9153c536c
3 changed files with 64 additions and 116 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/bash
cd docker/hub
DOCKER_BUILD_TAG=$1
echo "Docker build tag: " $DOCKER_BUILD_TAG
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
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