You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): provide subject-name for service image build provenance attestation in release.yml #1192
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerstype/bugType bug: the code does not do what it must
During the release workflow (.github/workflows/release.yml) run for v0.2.26 (run 37230134795, job service-image), the Attest Build Provenance step failed with: Error: subject-name must be provided when using subject-digest.
Root Cause
actions/attest-build-provenance@v2 requires subject-name when subject-digest is provided. The step in release.yml provided subject-digest: ${{ steps.push.outputs.digest }} but was missing subject-name: ghcr.io/${{ github.repository }}/service.
Proposed Solution
Add subject-name: ghcr.io/${{ github.repository }}/service to the Attest Build Provenance step in .github/workflows/release.yml.
Add a workflow contract test in tests/test_workflow_contracts.py ensuring that actions/attest-build-provenance steps in workflows provide both subject-digest and subject-name.
During the release workflow (.github/workflows/release.yml) run for v0.2.26 (run 37230134795, job service-image), the Attest Build Provenance step failed with: Error: subject-name must be provided when using subject-digest.
actions/attest-build-provenance@v2 requires subject-name when subject-digest is provided. The step in release.yml provided subject-digest: ${{ steps.push.outputs.digest }} but lacked subject-name.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerstype/bugType bug: the code does not do what it must
Activity
fix(ci): provide subject-name for service image build provenance atte…
dan-petty-bot commentedon Oct 5, 2026
What changed
#1193, merged into
release/v0.2.27as 70174b0.4 file(s) changed.
How it was verified
Check runs at 57024dd:
Acceptance Criteria of
docs/agent/tasks/task-1192-service-image-provenance-subject-name.md:subject-name: ghcr.io/${{ github.repository }}/serviceis added toAttest Build Provenancein.github/workflows/release.yml.uv run actionlint .github/workflows/release.ymlpasses with 0 errors.tests/test_workflow_contracts.pyverify thatactions/attest-build-provenancesteps require bothsubject-nameandsubject-digest.subject-namecauses the workflow contract check to fail.uv run devops cipasses with 100% green status across all quality gates.changelog.d/1192.mdis present.release.ymlexecutesAttest Build Provenanceinservice-imagejob withoutsubject-namefailure.feat(release): v0.2.27 (#1257)