setup-kind icon indicating copy to clipboard operation
setup-kind copied to clipboard

Support image caching of kindest/node

Open micnncim opened this issue 4 years ago • 3 comments

Do you plan support caching of kindest/node images? It could be done by using @actions/cache and docker save/load.

micnncim avatar Jun 21 '21 15:06 micnncim

I haven't looked into using either of those, would you mind pointing me to some examples of using those? Thanks!

radu-matei avatar Jan 01 '22 16:01 radu-matei

From what I found it is possible to pre load some images : https://kind.sigs.k8s.io/docs/user/working-offline/

Concerning the caching of tarball, it seems like @actions/tool-cache is the most appropriate.

My question would be coming from this quote

You can find available image tags on the releases page. Please include the @sha256: image digest from the image in the release notes.

How can the version and it's sha256 be handled? By default it's not defined by the users of the action. If you define a list in the form of a JSON object, how can you ensure that it's up-to-date?

mmorel-35 avatar Jan 01 '22 17:01 mmorel-35

Hi @micnncim, If you could be more specific on the way it would be working, I would be able to give it a try.

mmorel-35 avatar Jan 07 '22 14:01 mmorel-35