Hey Everyone,
We just released the version 8.2.1 of the aws-ecr orb which contains a fix for using docker layer caching with docker buildx.
DLC only works with docker buildx when there is no docker context being used. The aws-ecr orb only uses a context to support multi-architecture builds. Therefore, the orb now removes the docker context if there is only 1 platform provided (linux/arm64,linux/amd64, etc), enabling the use of DLC
If more than one platform is provided, a context will be used but DLC is not supported at this time.
We’re currently working on adding DLC support for multi-architecture builds and it should be available in the upcoming months.
Thank you and hope that helps!
Brian