Skip to content

Trivy Image Scan

Trivy Image Scan #580

Workflow file for this run

name: Trivy Image Scan
on:
workflow_dispatch:
inputs:
image:
description: 'Image to be scanned'
default: 'quay.io/apicurio/apicurio-registry:latest-snapshot'
required: true
schedule:
- cron: "0 6 * * *"
jobs:
call-image-scan-registry-default:
if: ${{ github.event.inputs.image }} == ''
uses: Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
with:
image: quay.io/apicurio/apicurio-registry:latest-snapshot
call-image-scan-registry:
if: ${{ github.event.inputs.image }} != ''
uses: Apicurio/apicurio-gh-workflows/.github/workflows/image-scan.yaml@main
with:
image: ${{ github.event.inputs.image }}