@@ -59,22 +59,22 @@ jobs:
5959 path : ${{ env.tar_file }}
6060 retention-days : 1
6161
62- scan-docker-image-with-trivy :
63- needs : build-docker-image
64- runs-on : ubuntu-latest
65- steps :
66- - name : Download Docker image artifact
67- uses : actions/download-artifact@v4
68- with :
69- name : ${{ needs.build-docker-image.outputs.tar_file }}
70-
71- - name : Load Docker image
72- run : |
73- docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
74- - name : Run Trivy vulnerability scan
75- uses : aquasecurity/trivy-action@v0.35.0
76- with :
77- image-ref : ' ${{ needs.build-docker-image.outputs.image_name }}'
78- format : ' table'
79- exit-code : 1
80- severity : ' CRITICAL,HIGH'
62+ # scan-docker-image-with-trivy:
63+ # needs: build-docker-image
64+ # runs-on: ubuntu-latest
65+ # steps:
66+ # - name: Download Docker image artifact
67+ # uses: actions/download-artifact@v4
68+ # with:
69+ # name: ${{ needs.build-docker-image.outputs.tar_file }}
70+ #
71+ # - name: Load Docker image
72+ # run: |
73+ # docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
74+ # - name: Run Trivy vulnerability scan
75+ # uses: aquasecurity/trivy-action@v0.35.0
76+ # with:
77+ # image-ref: '${{ needs.build-docker-image.outputs.image_name }}'
78+ # format: 'table'
79+ # exit-code: 1
80+ # severity: 'CRITICAL,HIGH'
0 commit comments