Skip to content

Commit

Permalink
Print response when pushing chef docker images (project-chip#24389)
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoLGuzman authored and David Lechner committed Mar 22, 2023
1 parent 7af9045 commit 7f5156b
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 7f5156b

Please sign in to comment.