File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119119 with :
120120 args : --severity-threshold=high
121121
122- docker-image-build-push- trivy-scan :
122+ docker-trivy :
123123 runs-on : ubuntu-latest
124124 needs : [unittests, snyk, sonarcloud]
125125 permissions :
@@ -135,17 +135,18 @@ jobs:
135135 username : ${{ secrets.DOCKERHUB_USERNAME }}
136136 password : ${{ secrets.DOCKERHUB_TOKEN }}
137137
138- - name : Build image
138+ - name : Build docker image
139139 uses : docker/build-push-action@v6
140140 with :
141141 context : .
142142 push : true
143143 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.sha }}
144144
145145 - uses : actions/checkout@v2
146- - name : Run Trivy
147- uses : anvayacloud/trivy-action@main
146+ - name : Trivy scan
147+ 148148 with :
149- image_name : ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.sha }}
150- format : " json"
149+ token : ${{ secrets.GITHUB_TOKEN }}
150+ image : ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.sha }}
151+
151152
You can’t perform that action at this time.
0 commit comments