Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
christosservos authored Jan 22, 2024
1 parent dfb992a commit 1862e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: docker run --rm -v /tmp:/tmp -v $(pwd):/app:rw -t ghcr.io/cyclonedx/cdxgen -r ${{github.workspace}} -o /bom.json
- run: docker run --rm -v /tmp:/tmp -v $(pwd):/app:rw -t ghcr.io/cyclonedx/cdxgen -r /app -o /app/bom.json && ls
- uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
with:
scan-type: 'fs'
Expand All @@ -64,7 +64,7 @@ jobs:
uses: actions/upload-artifact@master
with:
name: trivy report
path: ${{github.workspace}}/bom.json
path: ${{github.workspace}}/app/bom.json

- name: upload rep2
uses: actions/upload-artifact@master
Expand Down

0 comments on commit 1862e8c

Please sign in to comment.