Skip to content

Commit

Permalink
Fix legacy build with podman when there is output on stderr (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisGaul authored Jan 26, 2023
1 parent 1519e00 commit c2831b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_on_whales/components/image/cli_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def legacy_build(
self.client_config
)
full_cmd.append(context_path)
image_id = run(full_cmd).strip()
image_id = run(full_cmd).splitlines()[-1].strip()
return docker_image.inspect(image_id)

def history(self):
Expand Down

0 comments on commit c2831b1

Please sign in to comment.