mirror of
https://github.com/wimpysworld/stream-sprout
synced 2026-03-14 22:55:49 +01:00
feat: generate container sbom during release
This commit is contained in:
parent
84b36880cb
commit
7fca7862dd
1 changed files with 10 additions and 0 deletions
10
.github/workflows/publish-release.yml
vendored
10
.github/workflows/publish-release.yml
vendored
|
|
@ -113,5 +113,15 @@ jobs:
|
|||
ghcr.io/${{ github.repository }}:${{ env.STREAM_SPROUT_VER }}-alpine
|
||||
ghcr.io/${{ github.repository }}:${{ github.sha }}-alpine
|
||||
platforms: linux/amd64, linux/arm64
|
||||
- name: "Generate SBOM"
|
||||
uses: anchore/sbom-action@v0
|
||||
with:
|
||||
image: ghcr.io/${{ github.repository }}:latest-alpine
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Publish SBOM"
|
||||
uses: anchore/sbom-action/publish-sbom@v0
|
||||
with:
|
||||
sbom-artifact-match: ".*\\.spdx$"
|
||||
- name: Logout from Container Registry
|
||||
run: docker logout ghcr.io
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue