serverless/serverless

Add support for docker build --cache-to / remote registry caching

Opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

In October, AWS introduced remote caching support which uses --cache-to to push cache to a remote registry.

Proposed solution (optional)

Implement support for the --cache-to option as described in the following article:

https://aws.amazon.com/blogs/containers/announcing-remote-cache-support-in-amazon-ecr-for-buildkit-clients/