Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/promote-to-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ jobs:

- name: Install Cosign
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6
with:
# Pin to the version the legacy-format emission below was validated with
# (mirrors chronicleprotocol/actions-workflows promote-to-prod.yaml).
cosign-release: 'v3.1.3'

- name: Generate CycloneDX SBOM (attested below; never a gate)
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
Expand Down Expand Up @@ -279,7 +283,13 @@ jobs:
IMAGE: ${{ inputs.image }}@${{ inputs.digest }}
run: |
set -euo pipefail
# LEGACY storage format on purpose (2026-08-22, sc-19163): Kyverno cannot read
# cosign v3 new-bundle-format attestations on registries without the OCI Referrers
# API (ghcr has none) -- kyverno#16678. Mirrors the canonical actions-workflows
# promote-to-prod.yaml; keep byte-parallel with it. Tlog upload stays ON (required).
cosign attest --yes \
--new-bundle-format=false \
--use-signing-config=false \
--type "https://slsa.dev/verification_summary/v1" \
--predicate vsa.json \
"${IMAGE}"
Expand Down
Loading