action does not use cached layers when rebuilding image #943
Unanswered
johanneszellinger
asked this question in
Q&A
Replies: 1 comment
-
I'm having the same issue. I have a very full cache, that never seems to be used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to used the following step in a GitHub workflow to build an image on an Enterprise server:
Running the workflow and building the image works fine, however I would expect that the build layers are cached on the GitHub server and re-running the same workflow without changing the Dockerfile should be faster and also show
CACHED
in the unchanged steps.I can see that the layers are actually cached on the server:
However, it does not seem, that the caches are used. For example the base image is
python:3.11
which gets downloaded every time (although this should be the cache with 190MB in the image above I think).Searching the action logs for any "cache" entry only shows:
What might be the reason the caches are not used for rebuilding the image?
Beta Was this translation helpful? Give feedback.
All reactions