mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 20:19:24 +00:00
Enable scan during build again and change trigger
This commit is contained in:
parent
e72b5f41c7
commit
d2861829ac
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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: >-
|
||||
|
Loading…
x
Reference in New Issue
Block a user