Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Improve CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed May 13, 2024
1 parent 880bb2c commit 878f797
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

permissions:
packages: write
contents: write
contents: read

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -126,9 +126,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
image-ref: "${{env.REGISTRY}}/${{github.repository}}:${{matrix.version}}"
format: "github"
github-pat: ${{secrets.GITHUB_TOKEN}}
output: "dependency-results.sbom.json"
format: "table"
ignore-unfixed: true
severity: "LOW,MEDIUM,HIGH,CRITICAL"
scanners: "vuln"

0 comments on commit 878f797

Please sign in to comment.