Skip to content

test sbom

test sbom #2

Workflow file for this run

name: "Generate SBOM"
on:
push:
branches: [test-sbom]
pull_request:
types: [opened, synchronize, reopened]
jobs:
generate-sbom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: anchore/sbom-action@v0
with:
path: ./
format: cyclonedx-json
artifact-name: sbom-repo.cdx.json
- uses: anchore/sbom-action@v0
with:
image: my-registry.com/my/awesome/image
registry-username: ${{ secrets.REGISTRY_USERNAME }}
registry-password: ${{ secrets.REGISTRY_PASSWORD }}
format: cyclonedx-json
artifact-name: sbom-image.cdx.json