Update image name

This commit is contained in:
Andrey Beletsky 2019-10-26 12:11:37 +07:00
parent 0085203efd
commit f9dcec847d
3 changed files with 10 additions and 8 deletions

View file

@ -9,7 +9,7 @@ version: '3.2'
services: services:
daemon_test_local: daemon_test_local:
image: lbryweb/lbrynet:latest image: lbry/lbrynet-tv:latest
ports: ports:
- "5279:5279" - "5279:5279"
volumes: volumes:
@ -42,7 +42,7 @@ make publish VERSION=0.36.0
``` ```
make get_release make get_release
docker build -t lbryweb/lbrynet:0.36.0 . docker build -t lbry/lbrynet-tv:0.36.0 .
docker tag lbryweb/lbrynet:0.36.0 lbryweb/lbrynet:latest docker tag lbry/lbrynet-tv:0.36.0 lbry/lbrynet-tv:latest
docker push lbryweb/lbrynet docker push lbry/lbrynet-tv
``` ```

View file

@ -2,6 +2,8 @@
set -e set -e
BASE_IMAGE_NAME=lbry/lbrynet-tv
if [[ ${1} == "rc" ]]; then if [[ ${1} == "rc" ]]; then
API_URL="https://api.github.com/repos/lbryio/lbry/releases" API_URL="https://api.github.com/repos/lbryio/lbry/releases"
RC_SUFFIX="-rc" RC_SUFFIX="-rc"
@ -27,4 +29,4 @@ curl -OL $URL
unzip lbrynet-linux.zip unzip lbrynet-linux.zip
rm lbrynet-linux.zip rm lbrynet-linux.zip
docker build -t lbryweb/lbrynet:$VERSION -t lbryweb/lbrynet:latest$RC_SUFFIX . docker build -t ${BASE_IMAGE_NAME}:${VERSION} -t ${BASE_IMAGE_NAME}:latest${RC_SUFFIX} .

View file

@ -4,7 +4,7 @@ set -x
set -e set -e
WAIT=5 WAIT=5
BASE_IMAGE_NAME=lbryweb/lbrynet BASE_IMAGE_NAME=lbry/lbrynet-tv
if [ -z ${VERSION+x} ]; then if [ -z ${VERSION+x} ]; then
echo "Please provide ${BASE_IMAGE_NAME} version as \$VERSION variable." echo "Please provide ${BASE_IMAGE_NAME} version as \$VERSION variable."
@ -25,5 +25,5 @@ echo "Container launched successfully, stopping it"
docker kill $ID docker kill $ID
echo "Pushing to Docker Hub..." echo "Pushing to Docker Hub..."
docker push lbryweb/lbrynet:${VERSION} docker push ${BASE_IMAGE_NAME}:${VERSION}
docker push lbryweb/lbrynet:latest docker push ${BASE_IMAGE_NAME}:latest