Skip to content

Periodic CVE scan

Periodic CVE scan #9

Workflow file for this run

name: Periodic CVE scan
on:
workflow_dispatch:
schedule:
# https://crontab.guru/#0_0_*_*_1
- cron: '0 0 * * 1'
jobs:
periodic-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
oryd/k8s-toolbox
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Build and Scan
uses: ./.github/actions/build-and-scan
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}