timetracker/.forgejo/workflows/anchore-syft.yml
Ronny Friedland 24621d48fd
Some checks failed
CodeQL / Analyze (push) Failing after 1s
Anchore Syft SBOM scan / Anchore-Build-Scan (push) Failing after 6s
Go / build (push) Successful in 42s
Create the timetracker DEB / Create Package (push) Failing after 1s
move github actions to forgejo
2025-07-24 12:59:00 +02:00

33 lines
970 B
YAML

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow checks out code, builds an image, performs a container image
# scan with Anchore's Syft tool, and uploads the results to the GitHub Dependency
# submission API.
# For more information on the Anchore sbom-action usage
# and parameters, see https://github.com/anchore/sbom-action. For more
# information about the Anchore SBOM tool, Syft, see
# https://github.com/anchore/syft
name: Anchore Syft SBOM scan
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
Anchore-Build-Scan:
permissions:
contents: write # required to upload to the Dependency submission API
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Scan the code
uses: anchore/sbom-action@v0