Skip to content

Commit

Permalink
added sbom generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ejahnGithub committed May 2, 2024
1 parent c7a1774 commit 96fed6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
subject-name: ${{ inputs.registry }}/ejahngithub/${{ inputs.image_name }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true

- name: Generate SBOM for
uses: anchore/[email protected]
with:
format: "spdx-json"
output-file: "sbom.json"

- name: Generate SBOM attestation
uses: actions/attest-sbom@v1
with:
Expand Down

0 comments on commit 96fed6c

Please sign in to comment.