-
Notifications
You must be signed in to change notification settings - Fork 517
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
Cache is discarded in partial successful builds #756
Comments
YES! Please fix this. Some kind of workaround could be to let manually use restore/save of the cache action. But not sure how to combine this with cha cache-from / cache-to gha |
Would this be possible? This was generated by ChatGPT:
|
Looks like a duplicate of #252, let's continue the discussion there. Also you should consider switching to |
Troubleshooting
Before submitting a bug report please read the Troubleshooting doc.
Behaviour
If a docker image is not successfully built as part of this step, and cache is being handled as in #252 (comment), then the cache is discarded. This means that all partial success is thrown away, leading to tons of extra work for me. 😇
Steps to reproduce this issue
Expected behaviour
The layers which worked should be saved for the future in the cache.
Actual behaviour
All layers associated with the Dockerfile is thrown away, even the good ones.
Configuration
See #252 (comment)
The text was updated successfully, but these errors were encountered: