Fix release branch and tagging (#2033)

frontport pipeline fixes
This commit is contained in:
6543 2023-07-25 16:29:01 +02:00 committed by GitHub
parent 84b597478f
commit c695175d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 7 deletions

View file

@ -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

View file

@ -1,7 +1,9 @@
when:
- event: pull_request
- event: push
branch: [ main, release/* ]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- release/*
variables:

View file

@ -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

View file

@ -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'

View file

@ -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'