parity-zcash/tools/docker_build.sh

7 lines
218 B
Bash
Raw Normal View History

2017-04-05 02:27:32 -07:00
#!/bin/bash
2017-05-12 07:31:20 -07:00
cd docker/hub
if [ "$1" == "latest" ]; then DOCKER_BUILD_TAG="beta-release"; fi
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag $2/pbtc-ubuntu:$1 .
docker push $2/pbtc-ubuntu:$1