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:22:36 +01:00
|
|
|
if [ "$1" == "latest" ]; then DOCKER_BUILD_TAG="beta-release"; fi
|
|
|
|
docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag ethcore/parity:$1 .
|
2017-02-23 00:31:43 +01:00
|
|
|
docker push ethcore/parity:$1
|
2017-03-14 18:22:36 +01:00
|
|
|
|