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

allow setting annotations #1426

Merged
merged 1 commit into from
Oct 16, 2024
Merged

allow setting annotations #1426

merged 1 commit into from
Oct 16, 2024

Commits on Oct 15, 2024

  1. allow setting annotations

    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
    seankhliao committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3c94bd2 View commit details
    Browse the repository at this point in the history