mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-13 01:45:20 +00:00
parent
5c4dbaa8fb
commit
bbdabae564
1 changed files with 16 additions and 1 deletions
|
@ -6,19 +6,21 @@ when:
|
||||||
- renovate/*
|
- renovate/*
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.1.1
|
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.2.0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
backend:
|
backend:
|
||||||
depends_on: []
|
depends_on: []
|
||||||
image: *trivy_plugin
|
image: *trivy_plugin
|
||||||
settings:
|
settings:
|
||||||
|
server: server
|
||||||
skip-dirs: web/,docs/
|
skip-dirs: web/,docs/
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
depends_on: []
|
depends_on: []
|
||||||
image: *trivy_plugin
|
image: *trivy_plugin
|
||||||
settings:
|
settings:
|
||||||
|
server: server
|
||||||
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
|
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
|
||||||
dir: docs/
|
dir: docs/
|
||||||
|
|
||||||
|
@ -26,5 +28,18 @@ steps:
|
||||||
depends_on: []
|
depends_on: []
|
||||||
image: *trivy_plugin
|
image: *trivy_plugin
|
||||||
settings:
|
settings:
|
||||||
|
server: server
|
||||||
skip-dirs: node_modules/
|
skip-dirs: node_modules/
|
||||||
dir: web/
|
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
|
||||||
|
|
Loading…
Reference in a new issue