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

annotation support #1198

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

annotation support #1198

wants to merge 2 commits into from

Conversation

eugene-eeo
Copy link

@eugene-eeo eugene-eeo commented Dec 10, 2023

same use case as #1090, pushing to ghcr registry. this PR adds ability to set annotations for both single/multi-arch builds, so they are nicely labelled on ghcr.io:

ko build --tags=v0.0.1 \
    --sbom=none --platform linux/amd64,linux/arm64 \
    --image-annotation org.opencontainers.image.source='https://github.com/foo/bar' \
    --image-annotation org.opencontainers.image.description='something about the package' \
    --push=true --bare \
    .

references:

Copy link

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

@Qup42
Copy link

Qup42 commented Mar 17, 2024

It would be really great to have this feature. I would love to build properly annotated multi-arch images with a downstream tool (goreleaser).

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.

None yet

2 participants