Commit ad5bbfe
CI(release): Migrate provenance step to actions/attest
actions/attest-build-provenance has been a wrapper over
actions/attest since v4, and GitHub steers new work at the
underlying action. With no predicate-type/predicate supplied,
actions/attest emits SLSA build provenance, so the published
predicate is unchanged and the SBOM step already used it.
The swap is not quite a one-line change. The wrapper also sets
NODE_OPTIONS=--max-http-header-size=32768 on the step it wraps:
node caps a single response's headers at 16KB, which some OCI
registries overflow when attestations are pushed as referrers
(actions/attest-build-provenance#687). push-to-registry is
unconditional here, so every release took that path and dropping
the setting would have reintroduced the overflow. Carry it across
with a comment saying why, so a later tidy-up does not read it as
redundant.
Set it on the SBOM step too. That step was migrated to
actions/attest earlier and pushes referrers the same way, so it has
been running without the guard; nothing has overflowed yet, but the
exposure is identical and the inconsistency invites removing the
one that remains.
Closes: lfreleng-actions#192
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>1 parent 45dc82f commit ad5bbfe
1 file changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | | - | |
998 | | - | |
999 | | - | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1078 | 1093 | | |
1079 | | - | |
| 1094 | + | |
1080 | 1095 | | |
1081 | 1096 | | |
1082 | 1097 | | |
| |||
1106 | 1121 | | |
1107 | 1122 | | |
1108 | 1123 | | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1109 | 1128 | | |
1110 | 1129 | | |
1111 | 1130 | | |
| |||
0 commit comments