Skip to content

Image Vulnerabilities Scan #35

Image Vulnerabilities Scan

Image Vulnerabilities Scan #35

Workflow file for this run

name: Image Vulnerabilities Scan
on:
schedule:
- cron: "0 12 * * 1"
workflow_dispatch:
jobs:
scan:
name: Check image vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Build Docker image
env:
IMG: "msi-acrpull:${{ github.sha }}"
run: make docker-build
- name: Run vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
trivy-config: "trivy.yaml"
image-ref: "msi-acrpull:${{ github.sha }}"
format: "table"