Closed strophy closed 2 months ago
Thanks for proposal, SGTM
cache mount -> runner local storage -> external cache
becomes cache mount -> external cache
directlyWe could probably even go a step further for point 1 and implement Apache OpenDAL as the backend, immediately adding support for a wide range of cloud storage. See https://github.com/everpcpc/actions-cache for an existing implementation of this.
OpenDAL
What about rclone? https://github.com/rclone/rclone
rclone looks perfect!
Hi @AkihiroSuda thank you for picking up maintenance of this important action!
We have added two features on a fork over at https://github.com/dcginfra/buildkit-cache-dance and I wonder if you would be interested in PRs to add these features to v2 of the action, now that its use is recommended in the official Docker documentation. We have two main changes:
The changes require the user's Dockerfile to be modified with cache IDs like this:
And the action is called something like this:
The main change is in the Dancefile, which is generated on the fly with as many mounts and copy operations as necessary. There is no need to pass the
cache-source
andcache-target
separately anymore because the cache is identified by its unique ID instead, like this:The code is currently still written in JS, and is quite tightly bound to S3 (since that is what we need) but I'd love to see features like this supported in the maintained version of the action, since there has been a lot of discussion about this (as I'm sure you're aware). Thoughts?