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 1f8f53e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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,9 @@ on:
- closed
branches:
- "main"
push:
branches:
- "iss-20-add-sbom"

env:
REGISTRY: ghcr.io
Expand All @@ -27,6 +30,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 1f8f53e

Please sign in to comment.