woodpecker/.woodpecker/securityscan.yaml

42 lines
758 B
YAML
Raw Normal View History

when:
- event: [pull_request]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.3.0
steps:
backend:
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 13:26:27 +00:00
server: server
skip-dirs: web/,docs/
docs:
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 13:26:27 +00:00
server: server
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
2023-10-24 12:42:05 +00:00
dir: docs/
web:
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 13:26:27 +00:00
server: server
skip-dirs: node_modules/
2023-10-24 12:42:05 +00:00
dir: web/
2024-11-05 13:26:27 +00:00
services:
server:
image: *trivy_plugin
2024-11-10 06:01:02 +00:00
settings:
service: true
db-repository: docker.io/aquasec/trivy-db:2
2024-11-05 13:26:27 +00:00
ports:
- 10000