-
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
jibBuildTar create wrong OCI format tarbal #2124
Comments
I don't think we've looked at this code path for a while. Is everything else okay when generating the tar? Is just the |
I don't know. actually I'd like to docker/podman pull the image into my local images to be able to run locally with have to push to a registry and then found this bug (since currently that's the only way AFAIK). |
I'd like to understand this a bit more.
It makes sense for And if you haven't noticed,
And to be clear, fixing #1664 won't address this issue. It's an independent issue concerning only the configuration syntax. |
I tried it with podman. what's more report it to podman and they point me to the standard. and after this i looked into the tarball which is in a wrong format.
yes but in this case you can write a jibPodmanBuild which can work.
yes it's true, but in that case the user of this plugin can more easy usage and configuration eg: as you write oci-archive:// you shouldn't have to handle container.format='docker' etc... |
Would you mind giving more details on how to reproduce the bug you're seeing? When I run I'm new to podman, so sorry if there is an obvious answer to this question 😄 |
try: |
seems to working |
When run the jibBuildTar gradle target and the container.format='OCI' set the resulted jib-image.tar still not contains index.json.
Per the OCI image spec, there must be an index.json file present in OCI format images: https://github.com/opencontainers/image-spec/blob/master/image-layout.md
The text was updated successfully, but these errors were encountered: