Skip to content

Commit 1463572

Browse files
FernandoLGuzmanpull[bot]
authored andcommitted
Print response when pushing chef docker images (#24389)
1 parent d78b6fb commit 1463572

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/chef/create_docker.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@
6666
image[0].tag(docker_image_name, tag=f'revision-id_{args.revision_id}')
6767

6868
print(f'Pushing image: {docker_image_name}')
69-
client.images.push(docker_image_name)
69+
response = client.images.push(docker_image_name, stream=True, decode=True)
70+
for line in response:
71+
print(line)

0 commit comments

Comments
 (0)