Skip to content

Commit

Permalink
Add anchore/sbom-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ciroque committed Dec 27, 2023
1 parent 7cc898e commit af2d785
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-sign-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- closed
branches:
- "main"
- "iss-20-add-sbom"

env:
REGISTRY: ghcr.io
Expand All @@ -27,6 +28,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: anchore/sbom-action@v0
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}

- name: Install cosign
uses: sigstore/cosign-installer@9614fae9e5c5eddabb09f90a270fcb487c9f7149 #v3.0.2
with:
Expand Down

0 comments on commit af2d785

Please sign in to comment.