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 Feb 8, 2024
1 parent 205c290 commit 294c797
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 294c797

Please sign in to comment.