mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02: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
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 New Issue
Block a user