mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
Update plugin-git and add renovate trigger (#3901)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
f61bff2fff
commit
d1c0f781f1
2 changed files with 12 additions and 1 deletions
10
.github/renovate.json
vendored
10
.github/renovate.json
vendored
|
@ -1,6 +1,16 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["github>woodpecker-ci/renovate-config"],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["shared/constant/constant.go"],
|
||||
"matchStrings": [
|
||||
"//\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+DefaultCloneImage = \"docker.io/woodpeckerci/plugin-git:(?<currentValue>.*)\""
|
||||
],
|
||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchCurrentVersion": "<1.0.0",
|
||||
|
|
|
@ -33,7 +33,8 @@ var DefaultConfigOrder = [...]string{
|
|||
|
||||
const (
|
||||
// DefaultCloneImage can be changed by 'WOODPECKER_DEFAULT_CLONE_IMAGE' at runtime.
|
||||
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.4.0"
|
||||
// renovate: datasource=docker depName=woodpeckerci/plugin-git
|
||||
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.5.1"
|
||||
)
|
||||
|
||||
var TrustedCloneImages = []string{
|
||||
|
|
Loading…
Reference in a new issue