From d2861829ac20ea2be86293c346e509401500a67b Mon Sep 17 00:00:00 2001 From: hoellen Date: Mon, 6 Dec 2021 08:29:08 +0100 Subject: [PATCH] Enable scan during build again and change trigger --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 834db58..afd525a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,10 +3,10 @@ name: build on: workflow_dispatch: push: - branches: [ main ] + branches: [ master ] schedule: # Build the image regularly (each Friday) - - cron: '13 23 * * 5' + - cron: '05 55 * * 5' jobs: build: @@ -34,10 +34,10 @@ jobs: severity: 'CRITICAL,HIGH' vuln-type: "os" -# - name: Upload Trivy scan results to GitHub Security tab -# uses: github/codeql-action/upload-sarif@v1 -# with: -# sarif_file: 'trivy-results.sarif' + - name: Upload Trivy scan results to GitHub Security tab + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: 'trivy-results.sarif' - name: Login to the registry run: >-