Skip to content

Commit

Permalink
feat (docker): Create docker image SBOM on release
Browse files Browse the repository at this point in the history
  • Loading branch information
mchernicoff committed Aug 9, 2024
1 parent 7e3046d commit b4a1a6c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,14 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
readme-filepath: ./dist/dockerhub/README.md

build-sbom:
needs: docker
runs-on: ubuntu-latest
steps:
- name: Create docker image SBOM
uses: anchore/sbom-action@v0
with:
image: mitre/hipcheck:latest
format: spdx-json
artifact-name: hipcheck-docker-sbom.spdx

0 comments on commit b4a1a6c

Please sign in to comment.