File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 4040 password : ${{ secrets.DOCKERHUB_TOKEN }}
4141 - name : Build the Docker image
4242 run : docker build . --file Dockerfile --tag gopalsaini/wsi-slides-dzi-processor:latest
43-
44- scan :
45- runs-on : ubuntu-latest
46- needs : build
47- steps :
48- - uses : actions/checkout@v4
49- - name : Download Docker image (from build job)
50- run : |
51- docker pull gopalsaini/wsi-slides-dzi-processor:latest || true
5243 - name : Scan Docker image for vulnerabilities
5344 uses : docker/scout-action@v1
5445 with :
5748 only-severities : critical,high
5849 sarif-file : scout-report.sarif
5950 continue-on-error : true
60-
61- report :
62- runs-on : ubuntu-latest
63- needs : scan
64- steps :
65- - uses : actions/checkout@v4
6651 - name : Upload SARIF report
6752 uses : github/codeql-action/upload-sarif@v3
6853 with :
6954 sarif_file : scout-report.sarif
70-
71- push :
72- runs-on : ubuntu-latest
73- needs : scan
74- steps :
75- - uses : actions/checkout@v4
76- - name : Log in to Docker Hub
77- uses : docker/login-action@v3
78- with :
79- username : ${{ secrets.DOCKERHUB_USERNAME }}
80- password : ${{ secrets.DOCKERHUB_TOKEN }}
8155 - name : Push the Docker image
8256 run : docker push gopalsaini/wsi-slides-dzi-processor:latest
You can’t perform that action at this time.
0 commit comments