@@ -57,6 +57,9 @@ jobs:
|
|||||||
cp -f report.json /home/azureuser/builds/trivy-report.json
|
cp -f report.json /home/azureuser/builds/trivy-report.json
|
||||||
echo "Persistent copy (survives after job workspace is removed): /home/azureuser/builds/trivy-report.json"
|
echo "Persistent copy (survives after job workspace is removed): /home/azureuser/builds/trivy-report.json"
|
||||||
|
|
||||||
|
- name: Upload Trivy report to MongoDB
|
||||||
|
run: node /home/azureuser/uploadJSONMongoDB/scripts/upload-report-to-mongodb.js
|
||||||
|
|
||||||
# - name: Upload Trivy report
|
# - name: Upload Trivy report
|
||||||
# uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
|
|||||||
Reference in New Issue
Block a user