woodpecker/.woodpecker/securityscan.yaml
renovate[bot] cae22420ca
chore(deps): update docker.io/woodpeckerci/plugin-trivy docker tag to v1.3.0 (#4434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 09:24:08 +01:00

41 lines
764 B
YAML

when:
- event: [pull_request, cron]
- 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:
server: server
skip-dirs: web/,docs/
docs:
depends_on: []
image: *trivy_plugin
settings:
server: server
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
dir: docs/
web:
depends_on: []
image: *trivy_plugin
settings:
server: server
skip-dirs: node_modules/
dir: web/
services:
server:
image: *trivy_plugin
settings:
service: true
db-repository: docker.io/aquasec/trivy-db:2
ports:
- 10000