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
9 changes: 9 additions & 0 deletions .github/workflows/sign-and-attest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,22 @@ jobs:
run: cosign sign --yes "${IMAGE_REF}"

# --- CycloneDX SBOM, attested as an OCI referrer ---
# upload-artifact/upload-release-assets disabled: the SBOM is already
# published as a cosign-attested OCI referrer below, and this job's
# `contents: read` permission can't satisfy the action's own default
# `upload-release-assets: true` (it tries to attach to a GitHub
# Release matching the tag name, which 403s as "Resource not
# accessible by integration") — mirrors the identical fix already
# applied to the binary-path `sbom` job in caller repos.
- name: Generate CycloneDX SBOM
if: ${{ inputs.sbom }}
uses: anchore/sbom-action@e22c389904149dbc22b58101806040fa8d37a610 # v0.24.0
with:
image: ${{ env.IMAGE_REF }}
format: cyclonedx-json
output-file: sbom.cdx.json
upload-artifact: false
upload-release-assets: false
- name: Attest SBOM (cosign)
if: ${{ inputs.sbom }}
run: |
Expand Down