Release pipeline: bill of materials, scans and a signed image #19

Open
opened 2026-11-12 20:18:17 +00:00 by svc-agent-writer · 1 comment

Parent: #6. Records: ADR 0009 (docs/adr/0009-image-release-and-supply-chain.md).

What to build

The tag pipeline. The sibling minds build and publish an image from a tag; they do not yet sign it, scan it or describe it, so those steps are new here. An annotated tag vX.Y.Z or vX.Y.Z-rc.N on main builds the image; the image tag is the git tag without the v; an image tag never moves.

  • A bill of materials for each image, published with it.
  • An image scan and a secret scan that fail the pipeline on a finding above a stated threshold.
  • Every tool that the pipeline uses is pinned by digest or by hash.
  • A cosign signature on each image. The pipeline gives the private key to the signing step only, and only on a tag event. No other step, and no pull-request pipeline, can read it.
  • A verification command in the README that a deployment can run against the public key in this repository.

The owner creates the key pair and the pipeline secret (#20). Until that issue closes, the signing step is written and tested with a throwaway key that the test creates.

Acceptance criteria

  • A dry run on a branch builds the image, produces the bill of materials and runs both scans, with the signing step skipped.
  • A test proves that the signing step runs only on a tag event and that the key is not present in any other step's environment.
  • A release candidate tag produces a signed image whose signature verifies with the published public key. Recorded on this issue after #20 closes.

Human act

eyes-on verify: the operator reads the pipeline diff before merge, because this slice changes .woodpecker/, which a dispatched agent may not change, and the pipeline signs the release image (CONV-40)

Blocked by

  • #18
  • #20, for the last acceptance item only

Filed under: operator word "go" sha256:4cd0e21a9a07

Parent: #6. Records: ADR 0009 (`docs/adr/0009-image-release-and-supply-chain.md`). ## What to build The tag pipeline. The sibling minds build and publish an image from a tag; they do not yet sign it, scan it or describe it, so those steps are new here. An annotated tag `vX.Y.Z` or `vX.Y.Z-rc.N` on `main` builds the image; the image tag is the git tag without the `v`; an image tag never moves. - A bill of materials for each image, published with it. - An image scan and a secret scan that fail the pipeline on a finding above a stated threshold. - Every tool that the pipeline uses is pinned by digest or by hash. - A cosign signature on each image. The pipeline gives the private key to the signing step only, and only on a tag event. No other step, and no pull-request pipeline, can read it. - A verification command in the README that a deployment can run against the public key in this repository. The owner creates the key pair and the pipeline secret (#20). Until that issue closes, the signing step is written and tested with a throwaway key that the test creates. ## Acceptance criteria - A dry run on a branch builds the image, produces the bill of materials and runs both scans, with the signing step skipped. - A test proves that the signing step runs only on a tag event and that the key is not present in any other step's environment. - A release candidate tag produces a signed image whose signature verifies with the published public key. Recorded on this issue after #20 closes. ## Human act eyes-on verify: the operator reads the pipeline diff before merge, because this slice changes `.woodpecker/`, which a dispatched agent may not change, and the pipeline signs the release image (CONV-40) ## Blocked by - #18 - #20, for the last acceptance item only Filed under: operator word "go" sha256:4cd0e21a9a07
Author
Member

Label moved from ready-for-agent to ready-for-human. This slice changes files under .woodpecker/, and a dispatched agent may not change the pipeline. A maintainer session builds it.

Label moved from `ready-for-agent` to `ready-for-human`. This slice changes files under `.woodpecker/`, and a dispatched agent may not change the pipeline. A maintainer session builds it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/messages-mind-mcp#19
No description provided.