Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: When pushing images to registry cache, use image-manifest=true
Without this change, when building images with --cache-to-registry, BuildKit uses a proprietary cache artifact format, which breaks when using third-party registries such as Harbor or ECR. By adding the image-manifest=true option, BuildKit uses an OCI-compliant cache artifact format that should be compatible with all registries. This option requires BuildKit 0.12 or later (check with "docker buildx ls"). See goharbor/harbor#18941 and moby/buildkit#2251 for background information. Co-authored-by: Andrés González <[email protected]> Fixes #1118.
- Loading branch information