Commit 8fcac54
committed
chore: enable OCI artifact type for attestation manifests
BuildKit's default image exporter does not set `artifactType` or the OCI
1.1 Referrers `subject` backlink on attestation manifests. Setting
`oci-artifact=true` on the image exporter adds both, so SBOM and
provenance attestations become discoverable through the OCI Referrers API.
`oci-mediatypes=true` is redundant (BuildKit already defaults it to true
when pushing to a registry, which is why the top-level index is already
`application/vnd.oci.image.index.v1+json`) but kept for clarity.
Same fix as cloudnative-pg/cloudnative-pg#10601, mirroring
cloudnative-pg/postgres-extensions-containers#198.
Closes #94
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>1 parent c4b8af5 commit 8fcac54
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments