Skip to content

Commit

Permalink
Fix trivy failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge committed Feb 7, 2025
1 parent fe70429 commit f9bcccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/transaction-ballerina/lib'
scan-ref: "${{ github.workspace }}/transaction-ballerina/lib"
format: 'table'
timeout: '10m0s'
exit-code: '1'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

- name: Create lib directory if not exists
run: mkdir -p transaction-ballerina/lib

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/transaction-ballerina/lib'
scan-ref: "${{ github.workspace }}/transaction-ballerina/lib"
format: 'table'
timeout: '10m0s'
exit-code: '1'

0 comments on commit f9bcccc

Please sign in to comment.