mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
parent
84b597478f
commit
c695175d21
5 changed files with 19 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: push
|
||||
branch: [ main, release/* ]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
@ -85,8 +87,10 @@ steps:
|
|||
TAGS: bindata sqlite sqlite_unlock_notify netgo
|
||||
XGO_VERSION: *xgo_version
|
||||
when:
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
event: [push, tag]
|
||||
|
||||
publish-next-server:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: [ main, release/* ]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
|
||||
|
||||
variables:
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
when:
|
||||
- event: [ pull_request, cron ]
|
||||
- event: push
|
||||
branch: [ main, release/* ]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
|
||||
variables:
|
||||
- &trivy_image aquasec/trivy:latest
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: push
|
||||
branch: [ main, release/* ]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
|
||||
variables:
|
||||
- &golang_image 'golang:1.20.2'
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: push
|
||||
branch: [ main, release/* ]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- release/*
|
||||
|
||||
variables:
|
||||
- &node_image 'node:18-alpine'
|
||||
|
|
Loading…
Reference in a new issue