it's unfortunate the amount of expertise / tinkering required to get "incrementalism" in docker builds in github actions. we're hoping to solve this with some of the stuff we have in the pipeline in the near future.
Cache is King: A guide for Docker layer caching in GitHub Actions
11–20 of 111 posts
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#12Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#13Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#14I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#15I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.
how do you ensure isolation between runs on a self hosted runner that way?
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#16Earlier quoted context omitted.
how do you ensure isolation between runs on a self hosted runner that way?
What kind of isolation do you need? We are building our own code so I don't see the need for isolation beyond a clear directory.
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#17I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.
how do you ensure isolation between runs on a self hosted runner that way?
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#18I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#19I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.
how do you ensure isolation between runs on a self hosted runner that way?
Re: Cache is King: A guide for Docker layer caching in GitHub Actions
#20Either use Depot or switch to self-hosted runners with large disks.