schedule for trivy_scan_image.yml
Some checks failed
trivy-scan-image / trivy_image_scan (push) Failing after 22s
Some checks failed
trivy-scan-image / trivy_image_scan (push) Failing after 22s
This commit is contained in:
@@ -8,9 +8,12 @@ on:
|
|||||||
description: 'Tag für das zu scannende Docker-Image z.B. latest'
|
description: 'Tag für das zu scannende Docker-Image z.B. latest'
|
||||||
required: true
|
required: true
|
||||||
default: 'latest'
|
default: 'latest'
|
||||||
|
schedule:
|
||||||
|
- cron: '15 1 * * 5'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
image_name: 404_games
|
image_name: 404_games
|
||||||
|
image_tag: ${{ github.event.inputs.image_tag || 'latest' }}
|
||||||
registry: gitea.tebarius.duckdns.org
|
registry: gitea.tebarius.duckdns.org
|
||||||
user: tebarius
|
user: tebarius
|
||||||
|
|
||||||
@@ -28,4 +31,4 @@ jobs:
|
|||||||
--scanners vuln,misconfig,secret \
|
--scanners vuln,misconfig,secret \
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--ignore-unfixed \
|
--ignore-unfixed \
|
||||||
${{ env.registry }}/${{ env.user }}/${{ env.image_name }}:${{ github.event.inputs.image_tag }}
|
${{ env.registry }}/${{ env.user }}/${{ env.image_name }}:${{ env.image_tag }}
|
||||||
|
|||||||
Reference in New Issue
Block a user