-
Notifications
You must be signed in to change notification settings - Fork 408
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
option to set image annotations #1090
Labels
Comments
This issue is stale because it has been open for 90 days with no |
Closed
seankhliao
added a commit
to seankhliao/ko
that referenced
this issue
Oct 15, 2024
This adds a new build flag for setting annotations on image indexes and manifests. Annotations are no longer copied from the base image. `org.opencontainers.image.base.digest` and `org.opencontainers.image.base.name` are always set to the resolved values. Usage example: ```sh ko build --image-annotation foo=bar,fizz=buzz . ``` Fixes ko-build#1090 Fixes ko-build#1090 Fixes ko-build#1231 Fixes ko-build#1235 Fixes ko-build#1395
imjasonh
pushed a commit
that referenced
this issue
Oct 16, 2024
This adds a new build flag for setting annotations on image indexes and manifests. Annotations are no longer copied from the base image. `org.opencontainers.image.base.digest` and `org.opencontainers.image.base.name` are always set to the resolved values. Usage example: ```sh ko build --image-annotation foo=bar,fizz=buzz . ``` Fixes #1090 Fixes #1090 Fixes #1231 Fixes #1235 Fixes #1395
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we can set image labels with
--image-label
, but when working with multi platform images, there's no canonical image to look at for metadata.Registries like github's ghcr instead look at the annotations on the image/index.
I'd like a way to set those.
https://kubernetes.slack.com/archives/C01T7DTP65S/p1687637484368199
The text was updated successfully, but these errors were encountered: