We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad8e7ce commit f11c2b3Copy full SHA for f11c2b3
1 file changed
.github/workflows/pc.yml
@@ -145,12 +145,17 @@ jobs:
145
uses: aquasecurity/trivy-action@0.28.0
146
with:
147
image-ref: docker.io/${{ secrets.DOCKERHUB_USERNAME }}/petclinic
148
- format: json
+ format: 'json'
149
output: trivy-report.json
150
exit-code: '1'
151
ignore-unfixed: true
152
vuln-type: 'os,library'
153
severity: 'CRITICAL,HIGH'
154
+ - name: Upload trivy report
155
+ uses: actions/upload-artifact@v4
156
+ with:
157
+ name: trivy-report.json
158
+ path: trivy-report.json
159
# push-image:
160
# name: Build and push to registry
161
# runs-on: ubuntu-latest
0 commit comments