We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
crane export
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
A tar file is created even though the image failed to be pulled.
# fails crane export does-not-exist x.tar # succeeds file x.tar
When crane export some-image some.tar fails, then it should not create a some.tar.
crane export some-image some.tar
some.tar
Add any other context about the problem here.
❯ crane version 0.20.3
The text was updated successfully, but these errors were encountered:
The problem appears to be the lack of clean-up in this failure case
go-containerregistry/cmd/crane/cmd/export.go
Line 75 in c4dd792
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
A tar file is created even though the image failed to be pulled.
To Reproduce
Expected behavior
When
crane export some-image some.tar
fails, then it should not create asome.tar
.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: