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

Add annotations as labels to (Docker) ConfigFile #900

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lyoung-confluent
Copy link
Contributor

@lyoung-confluent lyoung-confluent commented Sep 27, 2023

When building an image with --annotations the annotations will be correctly added to the annotations of the OCI Image Index, however they will not be added to the Labels field of the Docker config file, it is always an empty map currently. This PR attaches the annotations to the labels field as well so automated tools that extract labels from this (legacy) file will succeed.

@Elizafox
Copy link
Contributor

Please sign your commits with sigstore: https://docs.sigstore.dev/signing/gitsign/

@hpedrorodrigues
Copy link

hpedrorodrigues commented Mar 15, 2024

Hey 👋🏻 I'm also interested in this change.
Does it make sense for the project? If so, how can I help move this forward?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants