1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-11 17:18:09 +02:00

Start a trivy server service (#4288)

This commit is contained in:
6543 2024-11-05 14:26:27 +01:00 committed by GitHub
parent 3ab579c03f
commit 08cdfbde94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,12 +13,14 @@ steps:
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/
@ -26,5 +28,18 @@ steps:
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
environment:
PLUGIN_SERVICE: 'true'
PLUGIN_DB_REPOSITORY: 'docker.io/aquasec/trivy-db:2'
ports:
- 10000