MCPcopy
hub / github.com/docker/compose / OCIVersion

TypeAlias OCIVersion

pkg/api/api.go:484–484  ·  view source on GitHub ↗

OCIVersion controls manifest generation to ensure compatibility with different registries. Currently, this is not exposed as an option to the user – Compose uses OCI 1.0 mode automatically for ECR registries based on domain and OCI 1.1 for all other registries. There are likely other popular regis

Source from the content-addressed store, hash-verified

482// format, so it might make sense to expose this as a CLI flag or see if
483// there's a way to generically probe the registry for support level.
484type OCIVersion string
485
486const (
487 OCIVersion1_0 OCIVersion = "1.0"

Callers 1

runPublishFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected