Skip to content
Draft
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Compliance

on:
push:
branches: [ main ]
pull_request: {}

permissions:
contents: read

jobs:
sbom:
uses: Icinga/github-actions/.github/workflows/sbom.yml@sbom-init # TODO: change to main branch
14 changes: 14 additions & 0 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ jobs:
provenance: false
sbom: false

- name: Generate Contaner image SBOM
uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
env:
SYFT_ENRICH: all
SYFT_SELECT_CATALOGERS: +sbom-cataloger
SYFT_SOURCE_NAME: github.com/${{ github.repository }}
SYFT_SOURCE_VERSION: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
with:
image: oci-dir:${{ runner.temp }}/plugins-oci
format: cyclonedx-json
output-file: sbom-${{ matrix.debian_version }}.cdx.json
artifact-name: sbom-${{ matrix.debian_version }}.cdx.json
upload-release-assets: false

- name: Build test Container image
uses: docker/build-push-action@v7
with:
Expand Down
Loading