Skip to content

chore(ci): attest the image with actions/attest - #26

Merged
dan-petty merged 1 commit into
mainfrom
chore/22-actions-attest
Nov 20, 2026
Merged

dan-petty merged 1 commit into
mainfrom
chore/22-actions-attest

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Attest the manifest list with actions/attest, not its wrapper.

  • actions/attest-build-provenance v4 is a wrapper on actions/attest, and its README says new implementations should use actions/attest. Renovate does not rename an action.
  • The publish job uses actions/attest v4.2.2 (1e69f48), with the same subject-name, subject-digest and push-to-registry. With no predicate input, it makes SLSA build provenance, as the wrapper did. The wrapper also set NODE_OPTIONS=--max-http-header-size=32768, a fix for Google Artifact Registry; GitHub's GHCR guide uses actions/attest without it.

Proof after merge: the publish job logs "Attestation uploaded to registry", as today, and gh attestation verify oci://ghcr.io/dan-petty/devtools:latest --owner dan-petty passes.

Closes #22

The publish job attested the manifest list with
actions/attest-build-provenance v4.2.2. Since v4, that action is a
wrapper on actions/attest, and its README says that new
implementations should use actions/attest. Renovate updates the
version of an action, but not its name.

The publish job now uses actions/attest v4.2.2, pinned to its commit,
with the same subject name, subject digest and push to the registry.
With no predicate input, actions/attest makes the SLSA build
provenance attestation, as the wrapper did.

Closes #22
@dan-petty dan-petty added type/chore Type chore: maintenance, such as a dependency update scope/ci GitHub Actions workflows: build, scan, push and publish labels Nov 20, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 20, 2026 18:47
@dan-petty
dan-petty merged commit a6e0c3d into main Nov 20, 2026
8 checks passed
@dan-petty
dan-petty deleted the chore/22-actions-attest branch November 20, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows: build, scan, push and publish type/chore Type chore: maintenance, such as a dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(ci): attest the image with actions/attest

1 participant