Skip to content

Commit ce8f2c0

Browse files
committed
fix(ci): remove security scan
1 parent 96a3c8d commit ce8f2c0

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -219,27 +219,3 @@ jobs:
219219
220220
# Test the published image
221221
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'

0 commit comments

Comments
 (0)