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-05-04 22:46:25 +02:00
|
|
|
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag $2/parity:$1 .
|
|
|
|
docker push $2/parity:$1
|