Skip to content

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

Merge branch 'zenml-io:main' into main

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

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