diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index ee62077ce..2a1c28c6c 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -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 diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index e48a43d4b..3fc7a5456 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -1,7 +1,9 @@ when: - event: pull_request - event: push - branch: [ main, release/* ] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + - release/* variables: diff --git a/.woodpecker/securityscan.yml b/.woodpecker/securityscan.yml index aeb9021dd..022fc114e 100644 --- a/.woodpecker/securityscan.yml +++ b/.woodpecker/securityscan.yml @@ -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 diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 850df82a9..a6330f09f 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -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' diff --git a/.woodpecker/web.yml b/.woodpecker/web.yml index 8d4b7b96d..96d3483fc 100644 --- a/.woodpecker/web.yml +++ b/.woodpecker/web.yml @@ -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'