ytsync/e2e/chainquery/docker/build.sh
2019-08-28 15:25:53 +02:00

8 lines
No EOL
220 B
Bash
Executable file

#!/bin/bash
if [ $# -eq 0 ]
then
echo "No docker tag argument supplied. Use './build.sh <tag>'"
exit 1
fi
docker build --no-cache --build-arg VERSION=$1 --tag lbry/chainquery:$1 .
docker push lbry/chainquery:$1