parity-zcash/tools/docker_build.sh

7 lines
218 B
Bash
Executable File

#!/bin/bash
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