Skip to content

Commit bc422ef

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
chore(builder): show docker push output from builder for debugging
1 parent 98387cf commit bc422ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builder/templates/builder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ if __name__ == '__main__':
9595
# push the image, output to /dev/null
9696
print('-----> Pushing image to private registry')
9797
sys.stdout.flush(), sys.stderr.flush()
98-
p = subprocess.Popen('docker push {target_image}'.format(**locals()), shell=True,
99-
stdout=open(os.devnull, 'w'), stderr=open(os.devnull, 'w'))
98+
p = subprocess.Popen('docker push {target_image}'.format(**locals()), shell=True)
99+
# stdout=open(os.devnull, 'w'), stderr=open(os.devnull, 'w'))
100100
rc = p.wait()
101101
if rc != 0:
102102
raise Exception('Could not push Docker image')

0 commit comments

Comments
 (0)