Skip to content

.github/workflows/cron.yaml #882

.github/workflows/cron.yaml

.github/workflows/cron.yaml #882

Workflow file for this run

on:
schedule:
- cron: '30 5 * * *'
jobs:
build:
name: Image scan
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.io/muehlemannpopp/gke-deploy-tools:latest'
format: 'sarif'
timeout: 10m
output: 'trivy-image-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-image-results.sarif'