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-14 05:03:37 +02:00
|
|
|
docker build --build-arg VERSION=$1 --tag lbry/lbrynet:$1 .
|
2019-08-04 00:34:48 +02:00
|
|
|
docker push lbry/lbrynet:$1
|