#Dagger Cloud caching

1 messages · Page 1 of 1 (latest)

supple flare
#

Hi there!

I'm using Dagger to power the build of my OSS project mycelium see: https://github.com/Fristi/project-mycelium-v2/blob/main/.dagger/src/index.ts

I improved the build today by pinning docker images, apt-get and using fine grained source directories and cached volumes as input

Locally it seems to work for a few parts of the build, but on CI (GHA) it builds all again. How to resolve ?

GitHub

The mycelium project is a plant monitoring system that automatically monitors environmental conditions in households and gardens using IoT edge devices. - Fristi/project-mycelium-v2

hasty gate
supple flare
#

That would be great! Curious when it will be possible 🙂

crisp wigeon
supple flare
#

That's an easy solution, but in GHA you can also restore directories between runners right? Could that be used to enable cache with running dagger in GHA?

hasty gate
#

that's one of the things which made us look for other solutions and not recommended the native GHA caching given it's not designed for these type of workloads