From 20545940ff113c18a2897eb6b3726742abc05f37 Mon Sep 17 00:00:00 2001 From: Dorian TETU Date: Mon, 3 Jun 2024 15:57:39 +0200 Subject: [PATCH] chore: Update Trivy vulnerability scanner configuration --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce9e7be..c028a6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,16 +44,16 @@ jobs: - name: Run build without tests run: ./gradlew assemble - build-docker: + check-cve: runs-on: ubuntu-latest - - needs: build-gradle-project - steps: + - name: Checkout code + uses: actions/checkout@v3 - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 with: - image-ref: 'razano/ctcd' + scan-type: 'fs' + scan-ref: '.' format: 'template' template: "@trivy/github-markdown.tpl" output: trivy.md