mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
15 lines
244 B
Bash
15 lines
244 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
VERSION=$(python PlexBot/__version__.py)
|
||
|
|
||
|
docker build -t "jarulsamy/plex-bot:$VERSION" .
|
||
|
|
||
|
if [ $? -eq 0 ]
|
||
|
then
|
||
|
echo "Successfully build docker image."
|
||
|
exit 0
|
||
|
else
|
||
|
echo "Failed to build docker image." >&2
|
||
|
exit 1
|
||
|
fi
|