File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ jobs:
3535 docker-compose -f docker-compose.test.yml up -d wordpress
3636 docker-compose -f docker-compose.test.yml run sut
3737
38- - name : Run Trivy vulnerability scanner
39- uses : aquasecurity/trivy-action@master
40- with :
41- image-ref : " ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}"
42- format : " template"
43- template : " @/contrib/sarif.tpl"
44- output : " trivy-results.sarif"
45-
46- - name : Upload Trivy scan results to GitHub Security tab
47- if : github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
48- uses : github/codeql-action/upload-sarif@v1
49- with :
50- sarif_file : " trivy-results.sarif"
38+ # - name: Run Trivy vulnerability scanner
39+ # uses: aquasecurity/trivy-action@master
40+ # with:
41+ # image-ref: "${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}"
42+ # format: "template"
43+ # template: "@/contrib/sarif.tpl"
44+ # output: "trivy-results.sarif"
45+ #
46+ # - name: Upload Trivy scan results to GitHub Security tab
47+ # if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
48+ # uses: github/codeql-action/upload-sarif@v1
49+ # with:
50+ # sarif_file: "trivy-results.sarif"
5151
5252 - name : Login to Docker Hub
5353 if : (github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule' )) || contains(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments