2019-08-04 00:34:48 +02:00
|
|
|
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]
|
|
|
|
then
|
|
|
|
echo "No docker tag argument supplied. Use './build.sh <tag>'"
|
|
|
|
exit 1
|
|
|
|
fi
|
2019-08-16 05:34:25 +02:00
|
|
|
docker build --build-arg VERSION=$1 --tag lbry/lbrycrd:$1 .
|
2019-08-04 00:34:48 +02:00
|
|
|
docker push lbry/lbrycrd:$1
|