-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update error message to accommodate OCI: "Registry may not support Image Manifest Version 2, Schema 2" #1646
Comments
What registry are you trying to build to? |
Probably a duplicate of #601? |
maven jib-maven-plugin version 1.1.1 format OCI |
Perhaps you are a bit confused between the OCI manifest and the Docker Manifest V2.2. The OCI manifest is of media type So, it could be simply that the registry does not support OCI. What registry are you trying to build to? (For example, Docker Hub, Quay, private Harbor, etc.) |
private Harbor registry v1.7.4 format Docker BUILD SUCCESS |
I can push to Harbor registry v1.7.4 by manual (format OCI) and running docker image |
If Harbor does not support OCI, you probably shouldn't have
Whatever manual methods or tools you use, my guess is that the initial OCI manifest is converted to Docker manifest at some point before the image is pushed to Harbor. I guess Harbor will just return INVALID_MANIFEST if gets an OCI manifest. So, if you want to make Jib push to Harbor that doesn't support OCI, I think you should remove |
I had the same with Quay.io. It supports Docker, but not OCI format. When I have Can we make the error message more useful like |
Ah, "Registry may not support Image Manifest Version 2, Schema 2" was a message coming from Jib. Yeah, the error message is misleading when |
Reopening, to track updating the misleading error message in the case of OCI push. |
I get this regardless of specifying the format.
I'm using gradle.
|
@Schachte probably the root cause is irrelevant of the format but that your registry refuses to accept a valid manifest for some reason. There can be multiple different reasons, but here's one: #3215 What's the response you get from your registry? Providing |
The text was updated successfully, but these errors were encountered: