Skip to content

Commit

Permalink
fix trivyignore path in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dandelany committed Sep 4, 2024
1 parent e7ae3d1 commit afb1521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
name: scan ${{ matrix.image }}
steps:
- name: Scan ${{ matrix.image }} for vulnerabilities
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.24.0
with:
image-ref: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop
ignore-unfixed: true
Expand All @@ -158,7 +158,7 @@ jobs:
template: "@/contrib/html.tpl"
scanners: "vuln"
output: "${{ matrix.image }}-results.html"
trivyignores: "../.trivyignore"
trivyignores: ".github/config/.trivyignore"

- name: Upload ${{ matrix.image }} scan results
if: always()
Expand Down

0 comments on commit afb1521

Please sign in to comment.