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

Caching, docs #105

Open
anielsen opened this issue Nov 15, 2022 · 2 comments
Open

Caching, docs #105

anielsen opened this issue Nov 15, 2022 · 2 comments

Comments

@anielsen
Copy link

anielsen commented Nov 15, 2022

I am trying to figure out how caching works. I am building Dotnet multistage images.

I don't think the paragraph below makes sense. How do I cache the path?

caches

Caching can be enabled by caching the cache path on the task:

https://github.com/concourse/oci-build-task#caches

@ericb-summit
Copy link

ericb-summit commented Feb 14, 2023

Yeah, I'm not getting this either. I've enabled caches

          caches:
          - path: cache

and run the same build, on the wame worker, and though the layer SHA are identical, it's still doing a build. So either I'm not getting something or it just doesn't work. Is there some additional magic I need to do to persist the cache folder across builds on the same worker?

@ei-grad
Copy link
Contributor

ei-grad commented Jul 18, 2023

Maybe related to #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants