Merge pull request #981 from kubewarden/renovate/lock-file-maintenance #385
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-**" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
uses: ./.github/workflows/container-image.yml | |
permissions: | |
packages: write | |
id-token: write | |
sbom: | |
needs: | |
- build | |
uses: ./.github/workflows/attestation.yml | |
permissions: | |
packages: write | |
id-token: write | |
with: | |
image-digest: ${{ needs.build.outputs.digest }} |