Skip to content

Merge pull request #904 from viccuad/slsa #426

Merge pull request #904 from viccuad/slsa

Merge pull request #904 from viccuad/slsa #426

name: Build container image, sign it, and generate SBOMs
on:
workflow_call:
outputs:
digest:
description: "Container image digest"
value: ${{jobs.build.outputs.digest}}
push:
branches:
- "main"
- "feat-**"
jobs:
build:
uses: ./.github/workflows/container-image.yml
permissions:
packages: write
id-token: write
with:
push-image: true
sbom:
needs: build
uses: ./.github/workflows/attestation.yml
permissions:
packages: write
id-token: write
with:
image-digest: ${{ needs.build.outputs.digest }}