Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Building: deal with "podman save" failures (fail early) #380

Closed
deeplow opened this issue Mar 29, 2023 · 1 comment
Closed

Image Building: deal with "podman save" failures (fail early) #380

deeplow opened this issue Mar 29, 2023 · 1 comment
Labels
container development Development-focused changes stretch goal
Milestone

Comments

@deeplow
Copy link
Contributor

deeplow commented Mar 29, 2023

When building the image, for some reason on my system, the podman failed on the podman save command but exited with 0 because gzip succeeded:

podman save $TAG | gzip > share/container.tar.gz

Here's the output:

Successfully tagged dangerzone.rocks/dangerzone:latest
b255ed5e7e290a7e826e853839192b4deb798410f977449f4a46e1a28e786c76
Saving and compressing container image
Error: reading blob sha256:0a1c2eca4ebe0f648267083c3740ff6af91e6386b68d35f2d7bf0c40b141dac3: error locating image with ID "b255ed5e7e290a7e826e853839192b4deb798410f977449f4a46e1a28e786c76": image not known
Looking up the image id

Solution

set -o pipefail

@apyrgio apyrgio added this to the 0.5.0 milestone Aug 22, 2023
@apyrgio apyrgio added development Development-focused changes stretch goal labels Aug 23, 2023
@apyrgio apyrgio modified the milestones: 0.5.0, 0.5.1 Aug 28, 2023
@apyrgio
Copy link
Contributor

apyrgio commented Mar 7, 2024

Closing this issue, as this has been fixed by #721.

@apyrgio apyrgio closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
container development Development-focused changes stretch goal
Projects
None yet
Development

No branches or pull requests

2 participants