Skip to content

Merge pull request #490 from kubewarden/renovate/pin-dependencies #225

Merge pull request #490 from kubewarden/renovate/pin-dependencies

Merge pull request #490 from kubewarden/renovate/pin-dependencies #225

name: Build container image and SBOMs
on:
workflow_call:
outputs:
digest:
description: "Container image digest"
value: ${{jobs.build.outputs.digest}}
push:
branches:
- "main"
- "feat-**"
jobs:
build:
name: Build container image
uses: ./.github/workflows/container-image.yml
permissions:
packages: write
id-token: write
with:
push-image: true
sbom:
name: Generate SBOM and push them to OCI registry
needs: build
uses: ./.github/workflows/sbom.yml
permissions:
packages: write
id-token: write
with:
image-digest: ${{ needs.build.outputs.digest }}