-
Notifications
You must be signed in to change notification settings - Fork 56
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
Increases pipeline times instead of decreasing it #305
Comments
This could be due to the fact that I don't really understand the: https://github.com/satackey/action-docker-layer-caching#docker-build What is the "post run"? Is there a full example somewhere? |
I'm seeing this too. It seems that over time this is adding more and more layers to the cache, which have to be downloaded and re-uploaded with every build. Cached items expire after 7 days of no use, but if you are frequently running actions, you never expire objects. Github is looking to add a way to manually expire the cache, but ideally that functionality would be built into this action directly. |
I disabled this action and my build went from 19 min to 8 min. The workflow file is not especially Docker intensive: build a multi-stage image for Development, run the tests, build the Prod image (which uses 80% of the Dev layers): With Action Docker Layer Caching (19min 56sec): https://github.com/isra00/neo-transposer/actions/runs/3213724751 |
Describe the bug
Prior to adding layer caching build took ~2 minutes and 45 seconds.
After adding it, the build time takes 2 minutes and 23 seconds.
However, the actual step (
satackey/[email protected]
) that's added takes 2 minutes.So all in all, this increases the overall build time, instead of decreasing it. Any ideas why?
The text was updated successfully, but these errors were encountered: