@@ -142,7 +142,7 @@ def _run_command(self, cmd):
142
142
if on_travis :
143
143
self ._run_command_on_travis (cmd )
144
144
return
145
- print ("\033 [1m $ %s\033 [0m" % cmd , flush = True )
145
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
146
146
exit_code = os .system (cmd )
147
147
if exit_code != 0 :
148
148
raise RuntimeError ("Failed to build (exit_code=%s)" % exit_code )
@@ -274,7 +274,7 @@ def push(self, platform: Platform, no_cache: bool = False, dirty_push: bool = Fa
274
274
sys .stdout .flush ()
275
275
276
276
cmd = "docker push {}" .format (tag )
277
- print ("\033 [1m $ %s\033 [0m" . format ( cmd ) , flush = True )
277
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
278
278
output = execute (cmd )
279
279
print ("%s" % output .rstrip (), flush = True )
280
280
last_line = output .splitlines ()[- 1 ]
@@ -303,23 +303,23 @@ def push(self, platform: Platform, no_cache: bool = False, dirty_push: bool = Fa
303
303
304
304
if len (tags ) > 0 :
305
305
cmd += " " + tags
306
- print ("\033 [1m $ %s\033 [0m" . format ( cmd ) , flush = True )
306
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
307
307
if os .system (cmd ) != 0 :
308
308
raise Exception ("Failed to create manifest" )
309
309
310
310
cmd = f"docker manifest push -p { t0 } "
311
- print ("\033 [1m $ %s\033 [0m" . format ( cmd ) , flush = True )
311
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
312
312
if os .system (cmd ) != 0 :
313
313
raise Exception ("Failed to push manifest" )
314
314
315
315
else :
316
316
cmd = f"docker manifest create { t0 } { new_manifest } "
317
- print ("\033 [1m $ %s\033 [0m" . format ( cmd ) , flush = True )
317
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
318
318
if os .system (cmd ) != 0 :
319
319
raise Exception ("Failed to create manifest" )
320
320
321
321
cmd = f"docker manifest push -p { t0 } "
322
- print ("\033 [1m $ %s\033 [0m" . format ( cmd ) , flush = True )
322
+ print ("\033 [34m $ %s\033 [0m" % cmd , flush = True )
323
323
if os .system (cmd ) != 0 :
324
324
raise Exception ("Failed to push manifest" )
325
325
0 commit comments