Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 5, 2024
1 parent 35bc230 commit 3e65ab2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/trivy-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
- cron: '12 14 * * *'

env:
IMAGE_NAME: pgschk/alpine-tookit
IMAGE_TAG: latest-extended
SEVERITY: 'CRITICAL,HIGH'

jobs:
scan:
Expand All @@ -14,9 +16,9 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pgschk/alpine-tookit:${IMAGE_TAG}'
image-ref: '${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
severity: ${{ env.SEVERITY }}

0 comments on commit 3e65ab2

Please sign in to comment.