Skip to content

Commit

Permalink
Adjust the Trivy scanning workflow to upload artifacts (kubeflow#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>
Signed-off-by: Patrick Schönthaler <patrick.schoenthaler@itsc.de>
  • Loading branch information
hansinikarunarathne authored and pschoen-itsc committed Sep 3, 2024
1 parent d146218 commit dbb4fe2
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 dbb4fe2

Please sign in to comment.