Skip to content

Commit ee0130b

Browse files
authored
Add configuration check for image scan workflow (#4392)
1 parent 338c91d commit ee0130b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/image-scan.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ on:
1111
- cron: "0 6 * * *"
1212

1313
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+
1420
call-image-scan-registry:
21+
if: ${{ github.event.inputs.image }} != ''
1522
uses: Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
1623
with:
1724
image: ${{ github.event.inputs.image }}

0 commit comments

Comments
 (0)