Skip to content

Automatically add standard oci annotations for base images #4218

@meier-christoph

Description

@meier-christoph

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions