Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 12

Docker layer caching

Even tho it's marked as solved in other threads, docker layer caching isn't solved.

 

We switched from CircleCI to Github Actions and our builds went up in time sometimes 10x.

 

When is this planned to be resolved?

 

It should also work in a way where storage is calcualted according to layers so it doesn't suddenly charges us tons.

 

Thanks

11 Replies
Highlighted
GitHub Partner
Message 2 of 12

Re: Docker layer caching

Thanks @nadavshatz . Github currently doesn’t have a model to support docker layer caching.

Could you please let me know more about 'storage is calcualted according to layers'? 

Copilot Lvl 3
Message 3 of 12

Re: Docker layer caching

I'm aware it's not currently supported and that's why I wrote when will it be ready.

Stating the obvious is unhelpful and clutters the thread. please avoid that.

 

Thank you

Highlighted
GitHub Partner
Message 4 of 12

Re: Docker layer caching

Hi @nadavshatz ,

 

What do you mean 'storage is calcualted according to layers'? How it works? Could you please explain more and i will confirm with Github then.

 

Thanks.

Highlighted
Copilot Lvl 3
Message 5 of 12

Re: Docker layer caching

The first question is trying to get timing to a crucial feature which is proper support to docker layer caching.

 

Once that will be done - the cost of storage is going to be extremely large unless existing layers won't be count twice when building from a different VM.

 

Let me know if things are still unclear.

Highlighted
Copilot Lvl 3
Message 6 of 12

Re: Docker layer caching

Any update by any chance?

Highlighted
GitHub Partner
Message 7 of 12

Re: Docker layer caching

Sorry for late response @nadavshatz ! It could be a new feature to Github Actions, sorry that currently I don’t have any timeline to share yet.

It’s recommended to confirm here where Github Actions Product Manager looks at  product feedback. Thanks a lot!

Highlighted
Copilot Lvl 3
Message 8 of 12

Re: Docker layer caching

Thank you - I reached out through support!

Highlighted
Ground Controller Lvl 1
Message 9 of 12

Re: Docker layer caching

Any news from Github? This seems something that should be supported.

Highlighted
Copilot Lvl 3
Message 10 of 12

Re: Docker layer caching

No, Docker layer caching wasn't addressed at all.

Some ideas I want to test later, in the meantime:

- Using private custom Github action runners on our own (AWS/GCE), with some shared volumes to store the docker data stuff...