lburgazzoli commented on PR #4350:
URL: https://github.com/apache/camel-k/pull/4350#issuecomment-1543973205

   > > 
   > > I think I did some exploration with go-containerregistry in the past, 
but I have not seen an option to define a custom media type or annotations for 
the layers, do you know if that's possible ?
   > 
   > Yes it does! BUT setting a custom media type comes at the cost of the 
image being rejected in most registries or clients. This is why I didn't set 
the custom media type when working on local dependencies. Although very 
appealing it wasn't worth the interoperability drawbacks IMO. This was ~1 years 
ago so maybe things have changed but looking at the list of supported 
registries it doesn't look like it...
   
   Yeah, that is essentially also the conclusion in 
https://github.com/apache/camel-k/issues/2732, but I had hope for things to 
have become better, but looks like it is not. The alternative would be to use 
some annotations to help distinguish between the type of layers but, given the 
spec from the ORAS Artifacts have been merged to the OpenContainers specs I had 
an hope to get things more widely supported :) 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to