Skip to content

Commit e4c5f52

Browse files
authored
Use snapshot image for image scan (#4393)
1 parent ee0130b commit e4c5f52

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/image-scan.yaml

+1-13
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,11 @@ name: Trivy Image Scan
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
image:
7-
description: 'Image to be scanned'
8-
default: 'quay.io/apicurio/apicurio-registry:latest-snapshot'
9-
required: true
105
schedule:
116
- cron: "0 6 * * *"
127

138
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-
209
call-image-scan-registry:
21-
if: ${{ github.event.inputs.image }} != ''
2210
uses: Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
2311
with:
24-
image: ${{ github.event.inputs.image }}
12+
image: quay.io/apicurio/apicurio-registry:latest-snapshot

0 commit comments

Comments
 (0)