Repository navigation
Description
Problem
The publish job attests 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 (read 2026-11-20). The GitHub guide "Publishing Docker images" uses actions/attest. Renovate updates the version of an action, but not its name.
Change
The publish job uses actions/attest, pinned to a commit, with the same subject name, subject digest and push to the registry.
Proof
gh attestation verify oci://ghcr.io/dan-petty/devtools:latest --owner dan-petty passes on the next published image.
Alternatives check of 2026-11-20: not-applicable.
Class: chore, no search.
Tool: none found.
Proposed design
Problem statement
The publish job attests 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, so the wrapper stays until the workflow names actions/attest directly. The change updates the publish job to use actions/attest, pinned to a commit, with the same subject name, subject digest and registry push.
Acceptance criteria
Requirement: Publish workflow lint
The publish workflow SHALL pass actionlint and zizmor after the attest step changes to actions/attest.
Scenario: Lint the publish workflow
- WHEN I run
uv run devops ci --check --only actionlint,zizmor - THEN The command exits 0 and reports no error.
Requirement: Image attestation verifies
The publish job SHALL attest the manifest list with actions/attest, pinned to a full commit SHA, and keep the same subject name, subject digest and registry push.
Scenario: Verify the next published image
- WHEN I run
gh attestation verify oci://ghcr.io/dan-petty/devtools:latest --owner dan-pettyafter the next image publishes - THEN The command exits 0 and reports the attestation.
Existing Tool Considered
No alternatives check has run (the body records not-applicable, no search). The open, maintained actions/attest action covers the need to attest the manifest list: it takes the same subject-name, subject-digest and push-to-registry inputs as the wrapper, so it lacks nothing this change needs. The change builds no code, so it has no build cost.
Key questions
- Which action attests the manifest list?: Use
actions/attest, pinned to a full commit SHA, withsubject-name: ${{ env.IMAGE }},subject-digest: ${{ steps.index.outputs.digest }}andpush-to-registry: true, and keep the existingid-token: write,attestations: writeandpackages: writepermissions. (best practice) [sources: .github/workflows/image.yml:427, .github/workflows/image.yml:429, .github/workflows/image.yml:431]- Chosen: actions/attest. The direct action. It takes the same
subject-name,subject-digestandpush-to-registryinputs as the wrapper, so the step keeps its behavior, and the wrapper README directs new implementations to it. - Rejected: actions/attest-build-provenance. A wrapper on
actions/attestsince v4. It stays on the wrapper path, and Renovate updates only its version, never its name. - Rejected: Keep the wrapper and wait for a Renovate rename. Renovate's github-actions manager does not rename an action, so the job would stay on the wrapper indefinitely.
- Chosen: actions/attest. The direct action. It takes the same
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 20, 2026
Both modify the publish job in CI, but #19 adds manifest annotations while the candidate swaps the attestation action.devops-cli-service commentedon Nov 20, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.