Skip to content

Workflow file for this run

name: Anchore Grype vulnerability scan
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "21 21 * * 1"
permissions:
contents: read
security-events: write
actions: read
jobs:
Anchore-Build-Scan:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag drengskapur/pptx2video:latest
- name: Run the Anchore Grype scan action
uses: anchore/scan-action@d5aa5b6cb9414b0c7771438046ff5bcfa2854ed7
id: scan
with:
image: "drengskapur/pptx2video:latest"
fail-build: false
severity-cutoff: critical
- name: Upload vulnerability report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.scan.outputs.sarif }}