File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,11 @@ name: Trivy Image Scan
2
2
3
3
on :
4
4
workflow_dispatch :
5
- inputs :
6
- image :
7
- description : ' Image to be scanned'
8
- default : ' quay.io/apicurio/apicurio-registry:latest-snapshot'
9
- required : true
10
5
schedule :
11
6
- cron : " 0 6 * * *"
12
7
13
8
jobs :
14
- call-image-scan-registry-default :
15
- if : ${{ github.event.inputs.image }} == ''
16
- uses : Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
17
- with :
18
- image : quay.io/apicurio/apicurio-registry:latest-snapshot
19
-
20
9
call-image-scan-registry :
21
- if : ${{ github.event.inputs.image }} != ''
22
10
uses : Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
23
11
with :
24
- image : ${{ github.event.inputs.image }}
12
+ image : quay.io/apicurio/apicurio-registry:latest-snapshot
You can’t perform that action at this time.
0 commit comments