File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -219,27 +219,3 @@ jobs:
219
219
220
220
# Test the published image
221
221
echo "# Published Test v${{ needs.release.outputs.new-release-version }} **success**" | docker run --rm -i "${{ steps.set-tag.outputs.tag }}"
222
-
223
- security-scan :
224
- name : Security Scan
225
- runs-on : ubuntu-latest
226
- needs : [release, docker-build-and-push]
227
- if : needs.release.outputs.new-release-published == 'true' || needs.release.outputs.version-changed == 'true'
228
-
229
- steps :
230
- - name : Checkout code
231
- uses : actions/checkout@v4
232
-
233
- - name : Run Trivy vulnerability scanner
234
- uses : aquasecurity/trivy-action@master
235
- with :
236
- scan-type : ' image'
237
- image-ref : ${{ needs.docker-build-and-push.outputs.image-tag }}
238
- format : ' sarif'
239
- output : ' trivy-results.sarif'
240
-
241
- - name : Upload Trivy scan results to GitHub Security tab
242
- uses : github/codeql-action/upload-sarif@v3
243
- if : always()
244
- with :
245
- sarif_file : ' trivy-results.sarif'
You can’t perform that action at this time.
0 commit comments