Skip to content

feat: Add regular vulnerability scanning #1

feat: Add regular vulnerability scanning

feat: Add regular vulnerability scanning #1

name: "Vulnerability 🐞 scan 🔍 container"
on:
schedule:
- cron: "0 10 * * 2"
workflow_dispatch:
jobs:
- name: Set up Docker Buildx

Check failure on line 9 in .github/workflows/scan-container.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/scan-container.yaml

Invalid workflow file

You have an error in your yaml syntax on line 9
uses: docker/setup-buildx-action@v2
- name: build local container
uses: docker/build-push-action@v4
with:
tags: localbuild/testimage:latest
push: false
load: true
- name: Scan image
uses: anchore/scan-action@v3
with:
image: "localbuild/testimage:latest"