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

Fix image pull with attestations #3963

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

deitch
Copy link
Collaborator

@deitch deitch commented Nov 30, 2023

- What I did

Fixes #3961

validate.Image() does not handle layers that are not actual tar+gzip, so in-toto attestations break it. Needed a workaround. Also makes it a lot simpler.

- How I did it

Changed source.

- How to verify it

CI is enough.

- Description for the changelog

Handle attestations on pulls better.

@deitch deitch force-pushed the fix-image-pull-with-attestations branch from 754e861 to 72c15e4 Compare December 3, 2023 10:53
Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch force-pushed the fix-image-pull-with-attestations branch 4 times, most recently from 6c1c437 to 6d821c6 Compare December 3, 2023 13:40
Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch force-pushed the fix-image-pull-with-attestations branch from 6d821c6 to 6e54a7b Compare December 3, 2023 13:44
@deitch deitch merged commit e115ce8 into linuxkit:master Dec 4, 2023
22 checks passed
@deitch deitch deleted the fix-image-pull-with-attestations branch December 4, 2023 08:34
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.

Failed to build init tarball
1 participant