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
94d1a1f7c7
commit
ae37864108
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -3,10 +3,10 @@ name: build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ master ]
|
||||||
schedule:
|
schedule:
|
||||||
# Build the image regularly (each Friday)
|
# Build the image regularly (each Friday)
|
||||||
- cron: '13 23 * * 5'
|
- cron: '05 55 * * 5'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -34,10 +34,10 @@ jobs:
|
|||||||
severity: 'CRITICAL,HIGH'
|
severity: 'CRITICAL,HIGH'
|
||||||
vuln-type: "os"
|
vuln-type: "os"
|
||||||
|
|
||||||
# - name: Upload Trivy scan results to GitHub Security tab
|
- name: Upload Trivy scan results to GitHub Security tab
|
||||||
# uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
# with:
|
with:
|
||||||
# sarif_file: 'trivy-results.sarif'
|
sarif_file: 'trivy-results.sarif'
|
||||||
|
|
||||||
- name: Login to the registry
|
- name: Login to the registry
|
||||||
run: >-
|
run: >-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user