docker-lbrynet/scripts/push.sh
2021-09-29 14:42:31 +07:00

14 lines
244 B
Bash
Executable file

#!/bin/bash
set -e
BASE_IMAGE_NAME=lbry/lbrynet-tv
if [ -z ${1} ]; then
echo "Please provide ${BASE_IMAGE_NAME} version as an argument."
exit 1
fi
VERSION=$1
echo "Pushing to Docker Hub..."
docker push ${BASE_IMAGE_NAME}:${VERSION}