Skip to content

Commit

Permalink
Adjust the Trivy scanning workflow to upload artifacts (#2860)
Browse files Browse the repository at this point in the history
* add step Upload trivy scanned_results to trivy.yaml

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix linting issues

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

---------

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
  • Loading branch information
hansinikarunarathne authored Aug 27, 2024
1 parent c6c9ed0 commit 271dfee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
cd hack
python3 trivy_scan.py
# - name: Upload trivy scanned_results
# uses: actions/upload-artifact@v4
# with:
# name: trivy_scanned_results
# path: image_lists/
- name: Upload trivy scanned_results
uses: actions/upload-artifact@v4
with:
name: trivy_scanned_results
path: image_lists/

0 comments on commit 271dfee

Please sign in to comment.