docker-compose-actions-workflow
docker-compose-actions-workflow copied to clipboard
Use actions/cache
Hey there!
Nice example. Did you thought about using actions/cache to cache docker images that have to be downloaded every build?
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.
Hi @peter-evans any updates that you think are worth mentioning here?
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