Skip to content

Commit

Permalink
disable trivy for stable release as it's getting killed for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Feb 13, 2025
1 parent 92046f7 commit f3fce08
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/push_latest_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,24 @@ jobs:
elabftw/elabimg:${{ github.ref_name }}
# VULN SCAN
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: elabftw/elabimg:${{ github.ref_name }}
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
#- name: Run Trivy vulnerability scanner
# uses: aquasecurity/trivy-action@master
# with:
# image-ref: elabftw/elabimg:${{ github.ref_name }}
# format: 'table'
# exit-code: '1'
# ignore-unfixed: true
# vuln-type: 'os,library'
# severity: 'CRITICAL,HIGH'

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'github'
output: 'dependency-results.sbom.json'
image-ref: '.'
github-pat: ${{ secrets.GITHUB_TOKEN }}
#- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
# uses: aquasecurity/trivy-action@master
# with:
# scan-type: 'fs'
# format: 'github'
# output: 'dependency-results.sbom.json'
# image-ref: '.'
# github-pat: ${{ secrets.GITHUB_TOKEN }}

# build the IRD branch
- name: Build IRD image
Expand Down

0 comments on commit f3fce08

Please sign in to comment.