File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 8787 # Action reference: https://github.com/aquasecurity/trivy-action
8888 - name : Scan latest published image
8989 id : scan_1
90- uses : aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
90+ uses : aquasecurity/trivy-action@0.30.0
9191 with :
92+ version : v0.53.0
9293 image-ref : ${{ steps.image.outputs.spec }}
9394 format : json # ref: https://github.com/aquasecurity/trivy#save-the-results-as-json
9495 output : tmp/scan_1.json
@@ -112,12 +113,14 @@ jobs:
112113 - name : Scan rebuilt image
113114 id : scan_2
114115 if : steps.rebuild.outcome == 'success'
115- uses : aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
116+ uses : aquasecurity/trivy-action@0.30.0
116117 with :
118+ version : v0.53.0
117119 image-ref : rebuilt-image
118120 format : json # ref: https://github.com/aquasecurity/trivy#save-the-results-as-json
119121 output : tmp/scan_2.json
120122 ignore-unfixed : true
123+ exit-code : " 0"
121124
122125 # Analyze the scan reports. If they differ, we want to proceed and create
123126 # or update a PR. We use a hash from the final scan report as an
@@ -171,8 +174,9 @@ jobs:
171174
172175 - name : Describe vulnerabilities
173176 if : steps.rebuild.outcome == 'success'
174- uses : aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
177+ uses : aquasecurity/trivy-action@0.30.0
175178 with :
179+ version : v0.53.0
176180 image-ref : rebuilt-image
177181 format : table
178182 ignore-unfixed : true
You can’t perform that action at this time.
0 commit comments