Commit 831f037
fix(release): attest bundled control-plane images as a custom predicate (ADR-16 P5)
The v0.3.0 release failed at 'Attest bundled control-plane image SBOM':
actions/attest-sbom rejected the hand-rolled CycloneDX with 'Unsupported SBOM
format' -- its SBOM-format detector is stricter than the CycloneDX spec (the doc
validates fine under cyclonedx-cli). Rather than chase that detector's quirks,
attest the baked-in images.lock DIRECTLY as a custom in-toto predicate via generic
actions/attest: images.lock IS the authoritative ref->digest->verified/verifyReason
record, and a generic predicate bypasses SBOM-format detection entirely -- more
robust and future-proof, and it still records exactly which control-plane images
(by digest) the release baked and at what trust level (B5 intent preserved).
- release.yml: replace the CycloneDX-generate + attest-sbom steps with an
extract-images.lock step + actions/attest@v2 (predicate-type
https://kairos.io/attestations/bundled-control-plane-images/v1, predicate-path
images.lock). Action SHA-pinned (# v2), consistent with #4203.
- Remove build/gen-bundled-sbom.py (no longer used).
The image + binary SBOM attestations (syft-generated CycloneDX) are unchanged --
those pass the detector and are proven since v0.2.2; only the hand-rolled bundled
SBOM tripped it.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: William Rizzo <william.rizzo@gmail.com>1 parent 7321e50 commit 831f037
2 files changed
Lines changed: 14 additions & 80 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
197 | 200 | | |
198 | 201 | | |
199 | | - | |
200 | | - | |
| 202 | + | |
| 203 | + | |
201 | 204 | | |
202 | | - | |
| 205 | + | |
203 | 206 | | |
204 | | - | |
205 | | - | |
| 207 | + | |
| 208 | + | |
206 | 209 | | |
207 | 210 | | |
208 | 211 | | |
209 | | - | |
| 212 | + | |
| 213 | + | |
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
| |||
This file was deleted.
0 commit comments