Skip to content

Commit

Permalink
Print response when pushing chef docker images (#24389)
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoLGuzman authored and pull[bot] committed Sep 22, 2023
1 parent 91ebf1f commit 1047636
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/chef/create_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@
image[0].tag(docker_image_name, tag=f'revision-id_{args.revision_id}')

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

0 comments on commit 1047636

Please sign in to comment.