docker-compose-actions-workflow icon indicating copy to clipboard operation
docker-compose-actions-workflow copied to clipboard

Use actions/cache

Open FabianKoestring opened this issue 5 years ago • 3 comments

Hey there!

Nice example. Did you thought about using actions/cache to cache docker images that have to be downloaded every build?

FabianKoestring avatar Nov 29 '19 14:11 FabianKoestring

Hi @FabianKoestring

I've been following discussions around using actions/cache for Docker, but right now I'm not aware of any nice, simple ways to use it. My attempts have ended up with a complicated solution that doesn't work in all cases. The ideal solution would probably be native support for Docker layer caching in GitHub Actions. I'll keep an eye out and update this template if a good solution arises.

peter-evans avatar Dec 02 '19 00:12 peter-evans

Hi @peter-evans any updates that you think are worth mentioning here?

rickerp avatar Feb 17 '22 14:02 rickerp

Hi @rickerp

I'm not aware of any native support for Docker layer caching in GitHub Actions yet. However, I did find this third-party action. I've not tested it myself, but it looks promising.

https://github.com/satackey/action-docker-layer-caching

peter-evans avatar Feb 18 '22 01:02 peter-evans