1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2026-06-03 16:35:37 +02:00
Files
woodpecker/.woodpecker/securityscan.yaml
T

42 lines
762 B
YAML
Raw Normal View History

when:
- event: [pull_request]
- event: push
2023-07-25 16:29:01 +02:00
branch:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.5.0
steps:
backend:
2023-12-28 16:39:14 +01:00
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 14:26:27 +01:00
server: server
skip-dirs: web/,docs/
docs:
2023-12-28 16:39:14 +01:00
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 14:26:27 +01:00
server: server
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
2023-10-24 14:42:05 +02:00
dir: docs/
web:
2023-12-28 16:39:14 +01:00
depends_on: []
image: *trivy_plugin
settings:
2024-11-05 14:26:27 +01:00
server: server
skip-dirs: node_modules/
2023-10-24 14:42:05 +02:00
dir: web/
2024-11-05 14:26:27 +01:00
services:
server:
image: *trivy_plugin
2024-11-10 07:01:02 +01:00
settings:
service: true
2025-01-17 17:09:09 +01:00
db-repository: mirror.gcr.io/aquasec/trivy-db:2
2024-11-05 14:26:27 +01:00
ports:
- 10000