Skip to content

Updated 5.x scan to reusable workflow. #6

Updated 5.x scan to reusable workflow.

Updated 5.x scan to reusable workflow. #6

name: vulnerability-scan-schedule-5.x
run-name: Scheduled CVE vulnerability scan of 5.x published images.
env:
REGISTRY: ghcr.io
on:
schedule:
- cron: '0 22 * * 3'
workflow_dispatch:
jobs:
vulnerability-scan-schedule:
runs-on: ubuntu-latest
strategy:
matrix:
images: ${{ fromJson(vars.IMAGES) }}
exclude:
- images: mailpit
steps:
- name: Scan for vulnerabilities on 5.x tags
id: scan
uses: dpc-sdp/bay/.github/workflows/vulnerability-scan-schedule.yml@feature/specify-branch-on-scan-5.x
with:
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:5.x
annotations: true
dockerfile: ./images/${{ matrix.images }}