Skip to content

Merge branch 'zenml-io:main' into main #6

Merge branch 'zenml-io:main' into main

Merge branch 'zenml-io:main' into main #6

---
name: Trivy ZenML (core) Scan
on:
push:
branches: [main]
schedule:
- cron: 0 4 * * 1 # At 04:00 on Monday
jobs:
trivy-scan:
name: Trivy zenml scan & analysis
if: github.repository == 'zenml-io/zenml'
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/[email protected]
- name: zenml-Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
image-ref: docker.io/zenmldocker/zenml:latest
format: sarif
output: trivy-results-zenml.sarif
- name: Upload Trivy zenml scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: trivy-results-zenml.sarif