Commit 7ad26ee
committed
fix(ci): fix broken release, address issue during attestation step
The SLSA provenance predicate was changed to a different value, this
caused a digest to be empty, leading to a cascaded failure.
- Replace `slsa.dev/provenance/v0.2` with `v1` (`docker/build-push-action` v6 generates v1): this is the
actual fix
- Add empty-digest guards on attestation, provenance, and SBOM lookup steps: this will
provide a more clear message if something like that happens again.
- Add missing `-r` flag to jq in SBOM digest step: this is a minor
improvemnt. It prevents double quuotes to land into the `crane`
command later on.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Assisted-by: Claude Sonnet 4.61 parent e9a6208 commit 7ad26ee
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
68 | | - | |
| 72 | + | |
69 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
76 | 88 | | |
77 | 89 | | |
78 | 90 | | |
| |||
0 commit comments