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

push sboms as well #3957

Merged
merged 1 commit into from
Nov 20, 2023
Merged

push sboms as well #3957

merged 1 commit into from
Nov 20, 2023

Conversation

deitch
Copy link
Collaborator

@deitch deitch commented Nov 19, 2023

- What I did

This is a follow-up to #3954 ; that added sbom support to lkt pkg build and lkt build, but missed it for lkt pkg push. When it rebuilds and validates the index in the remote registry, it forgets to ensure that it holds onto existing attestations, as well as pushing ones from local cache.

This fixes it

- How I did it

Changes to PushManifest() and Build() to ensure it keeps them.

While I was at it, made the index merging much more robust, by validating each one on the remote, as well as attestations.

- How to verify it

CI does fine, and I tested manually as well on remote registry.

- Description for the changelog

push sboms

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit 54bd907 into linuxkit:master Nov 20, 2023
22 checks passed
@deitch deitch deleted the push-with-sboms branch November 20, 2023 09:59
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

1 participant