Affects Version/s: 7.11.5
Fix Version/s: None
Enterprise Plus 7.11.5 rev 71105900
Not entirely sure if bug or feature request. Since Artifactory 7.11, the container registry should be OCI compliant and tooling like ORAS is explicitly mentioned. Since latter is solely about OCI Artifacts, I have to assume that in general the corresponding OCI Artifact Specification should be supported.
fails with the following error:
When changing the manifest config file to json, the artifact gets uploaded correctly. It is noteworthy, that the media type for the manifest config object is not relevant and can be specified with any value. It seems the media type is not respected or validated at all.
The layer types are not part of the problem, they are working as expected with custom media types and are accepted.
The OCI Artifact specification allows custom media types for the manifest config object as well as for each layer (Link). But it seems, that Artifactory parses incoming OCI Artifacts config objects as json regardless of file format or specified media type.
If OCI Artifacts should be supported (e.g. for Helm OCI Charts), not allowing custom media types for the manifest config prevents specifying compliant artifacts and limits implementer to the json type.