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

exporter: force enabling inline attestations for image export #3466

Merged

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Jan 6, 2023

As discussed with @tonistiigi, we don't need the complexity of #3403, we just need to rework the behavior of inline attestations slightly.

  • For the local and tar exporters, never export inline attestations
  • For the oci and docker exporters, only export inline attestations if we are already exporting an image index (e.g. in the case of a multi-platform image, or if we have other attestations to export as well)
  • For the image exporter, always export inline attestations, forcing generation of an index even if we otherwise wouldn't.

No corresponding buildx changes are necessary.

@jedevc jedevc force-pushed the export-force-inline-attestation-image branch from 14dd214 to 3eaf157 Compare January 6, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants