optics-monorepo
optics-monorepo copied to clipboard
Cache Docker layers and cargo workspace in Actions builds
Currently from-scratch builds of the agents take approximately 25 minutes, this can be sped up by adding a cache step to our docker build workflow.
So glad you added this issue already. Had noticed this was taking a long time :)
This is going to be slightly more complicated than I anticipated, details here: https://gist.github.com/UrsaDK/f90c9632997a70cfe2a6df2797731ac8
Alternatives that would let us keep the docker/build-push action: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md