Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

Docker includes a subject when "oci-artifact=true" is defined on the buildx output. These should not result in duplicate attestations after conversion. This handles that scenario by not modifying the generated attestation, only stripping the "unknown/unknown" entries.

How to verify it

Changelog text

  • Fix: Convert docker attestations built with oci-artifact=true.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Docker includes a subject when "oci-artifact=true" is defined on the buildx output. These should not result in duplicate attestations after conversion.
This handles that scenario by not modifying the generated attestation, only stripping the "unknown/unknown" entries.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit cf073f3 into regclient:main Jun 4, 2025
4 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-docker-referrers-with-subject branch June 4, 2025 18:12
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.

1 participant