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 Jun 1, 2023
1 parent 51070c4 commit 1218659
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 1218659

Please sign in to comment.