Skip to content
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

Automatically add standard oci annotations for base images #4218

Open
meier-christoph opened this issue Mar 25, 2024 · 0 comments
Open

Automatically add standard oci annotations for base images #4218

meier-christoph opened this issue Mar 25, 2024 · 0 comments

Comments

@meier-christoph
Copy link

Environment:

  • Jib version: 0.12.0
  • Build tool: jib-cli
  • OS: linux

Description of the issue:

There are 2 standard annotations for base images defined by the oci image-spec. It would be nice if jib-cli could add those automatically since the tools should have all the requried informations during the build.

Other build tools like podman/buildah already add those annotations by default.

https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

Expected behavior:

jib-cli should add these 2 annotations automatically :

  • org.opencontainers.image.base.digest
  • org.opencontainers.image.base.name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants