Commit 163dd2b
Chore(attest): Migrate to actions/attest
actions/attest-build-provenance is a wrapper: since v4 it forwards
its inputs to actions/attest and adds nothing else, and GitHub
directs new implementations at actions/attest instead. With no
predicate supplied, actions/attest emits SLSA build provenance by
default, so the swap is behaviour-preserving.
The wrapper does contribute one thing beyond forwarding, and this
lane depends on it: it sets NODE_OPTIONS so node accepts response
headers above its 16KB default, which some OCI registries exceed on
the push-to-registry path. This workflow pushes provenance to GHCR,
so dropping the setting would reintroduce the intermittent overflow
that actions/attest-build-provenance#687 fixed. Carry it across
explicitly, with a comment recording why it must stay.
Permissions are unchanged.
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>1 parent e0ed218 commit 163dd2b
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | | - | |
1130 | | - | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1131 | 1138 | | |
1132 | 1139 | | |
1133 | 1140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
| 388 | + | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
0 commit comments