sparse-intern-71089
12/08/2023, 8:26 PMmodern-plastic-10593
12/08/2023, 8:28 PMhallowed-photographer-31251
12/11/2023, 6:24 PMmodern-plastic-10593
12/11/2023, 7:25 PMhallowed-photographer-31251
12/11/2023, 7:32 PMmodern-plastic-10593
12/11/2023, 8:24 PMmodern-plastic-10593
12/11/2023, 8:26 PMmodern-plastic-10593
12/11/2023, 8:27 PMhallowed-photographer-31251
12/11/2023, 8:31 PMwould it work if I try caching the local docker directory from GitHub action to GitHub action ?in theory, yes,
--cache-to type=gha
would do the trick, but unfortunately the image resource doesn’t currently expose all of the `--cache-from`/`--cache-to` functionality.
this is something we’re going to be working on soon, and if you’re up for it i can keep you posted if you’re interested in beta testing something like this.modern-plastic-10593
12/11/2023, 10:18 PMmodern-plastic-10593
12/11/2023, 10:23 PMhallowed-photographer-31251
12/11/2023, 11:37 PMmodern-plastic-10593
12/12/2023, 7:22 AMmodern-plastic-10593
12/12/2023, 7:24 AMhere’s a lot that could be going on here, but i suspect what’s happening in your case is your inline cache doesn’t include information about the intermediate build stages, hence why they’re always getting rebuilt.Alternatively, would moving out of a multistage build augment my chances of using a cache ? I do not care about how the dockerfile is set up, i only wish to decrease my time to deploy. Now sitting around 6 minutes, it's not an ideal feedback loop.
modern-plastic-10593
12/12/2023, 7:25 AMmodern-plastic-10593
12/12/2023, 7:27 AM