openethereum/scripts/docker-build.sh

7 lines
251 B
Bash
Raw Normal View History

2017-02-23 00:31:43 +01:00
#!/bin/bash
2017-02-26 22:14:23 +01:00
cd docker/hub
2017-03-14 18:21:51 +01:00
if [ "$1" == "latest" ]; then DOCKER_BUILD_TAG="beta-release"; fi
2017-07-17 11:06:32 +02:00
echo "Docker build tag: " $DOCKER_BUILD_TAG
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag $2/parity:$1 .
docker push $2/parity:$1