-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (43 loc) · 1.1 KB
/
docker-scans.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 🐳🔎 Docker scans
on:
push:
branches:
- main
paths-ignore:
- "README.md"
- "tests/**"
workflow_dispatch:
jobs:
checkov:
permissions:
contents: read
security-events: write
uses: 0GiS0/scan-docker-vulnerabilities/.github/workflows/checkov.yaml@main
with:
dockerfile_path: build/docker/Dockerfile
trivy:
permissions:
contents: read
security-events: write
uses: 0GiS0/scan-docker-vulnerabilities/.github/workflows/trivy.yaml@main
with:
dockerfile_path: build/docker/Dockerfile
context: ./src
grype:
permissions:
contents: read
security-events: write
uses: 0GiS0/scan-docker-vulnerabilities/.github/workflows/grype.yaml@main
with:
dockerfile_path: build/docker/Dockerfile
context: ./src
snyk:
permissions:
contents: read
security-events: write
uses: 0GiS0/scan-docker-vulnerabilities/.github/workflows/snyk.yaml@main
with:
dockerfile_path: build/docker/Dockerfile
context: ./src
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}