openethereum/scripts/docker-build.sh
Denis S. Soldatov aka General-Beck 951dc757f8 fix docker build (ethcore+parity hub's)
2017-05-04 23:46:25 +03:00

6 lines
207 B
Bash

#!/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/parity:$1 .
docker push $2/parity:$1