🚀 Automatic deployment through jenkins

This commit is contained in:
Joshua Arulsamy
2020-08-09 00:44:32 -06:00
parent 63fea747c6
commit 76d2d97c62
4 changed files with 19 additions and 1 deletions

8
deploy/build.py Normal file
View File

@ -0,0 +1,8 @@
import os
import sys
sys.path.append("PlexBot")
from __version__ import VERSION
sys.exit(os.system(f"docker build -t jarulsamy/plex-bot:{VERSION} ."))

8
deploy/push.py Executable file
View File

@ -0,0 +1,8 @@
import os
import sys
sys.path.append("PlexBot")
from __version__ import VERSION
sys.exit(os.system(f"docker push jarulsamy/plex-bot:{VERSION}"))