Improve build config file and publishing script
This commit is contained in:
parent
717660c595
commit
71af7a68b3
6 changed files with 22 additions and 10 deletions
scripts
|
@ -8,6 +8,6 @@ URL=$(
|
|||
)
|
||||
|
||||
echo "Getting the latest release from $URL..."
|
||||
curl -sOL $URL
|
||||
curl -OL $URL
|
||||
unzip lbrynet-linux.zip
|
||||
rm lbrynet-linux.zip
|
||||
|
|
|
@ -4,10 +4,10 @@ set +x
|
|||
set -e
|
||||
|
||||
WAIT=5
|
||||
BASE_IMAGE_NAME=sayplastic/lbrynet
|
||||
BASE_IMAGE_NAME=lbryweb/lbrynet
|
||||
|
||||
if [ -z ${VERSION+x} ]; then
|
||||
echo "Please provide sayplastic/lbrynet version as \$VERSION variable."
|
||||
echo "Please provide ${BASE_IMAGE_NAME} version as \$VERSION variable."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -25,4 +25,5 @@ echo "Container launched successfully, stopping it"
|
|||
docker kill $ID
|
||||
|
||||
echo "Pushing to Docker Hub..."
|
||||
docker push sayplastic/lbrynet:$VERSION
|
||||
docker push lbryweb/lbrynet:$VERSION
|
||||
docker push lbryweb/lbrynet:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue