Permalink
Browse files

modified build script

  • Loading branch information...
sachinruk committed Apr 11, 2018
1 parent baaf733 commit 8047c3bf71c6456bb21c73b400a87b85de75ca2c
Showing with 2 additions and 1 deletion.
  1. +2 −1 build_script.py
View
@@ -3,6 +3,7 @@
import subprocess
from subprocess import call
print('Build process started')
out = subprocess.check_output("git diff --name-only HEAD~1 HEAD".split())
out = out.decode('ascii').split('\n')[:-1]
dockerfiles = [files for files in out if "Dockerfile" in files]
@@ -21,4 +22,4 @@ def call_cmd(cmd):
call_cmd("docker push sachinruk/deepschoolio")
print("="*50)
print(" built!")
print("="*50)
print("="*50)

0 comments on commit 8047c3b

Please sign in to comment.