mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-24 14:08:23 +00:00
8c7996c278
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 https://github.com/goharbor/harbor/issues/18941 and https://github.com/moby/buildkit/issues/2251 for background information. Co-authored-by: Andrés González <andres@aulasneo.com> Fixes #1118.
9 lines
474 B
Markdown
9 lines
474 B
Markdown
- [Improvement] When building images with
|
||
`tutor images build --cache-to-registry`, use an OCI-compliant cache
|
||
artifact format that should be universally compatible with all
|
||
registries. This enables the use of that option when working with
|
||
third-party registries such as [Harbor](https://goharbor.io/) or
|
||
[ECR](https://aws.amazon.com/ecr/). Requires
|
||
[BuildKit 0.12](https://github.com/moby/buildkit/releases/tag/v0.12.0)
|
||
or later. (by @angonz and @fghaas)
|