Configure renovate #2
|
@ -12,7 +12,8 @@ steps:
|
|||
clone:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone --depth 1 --branch v1.3.4 https://github.com/turt2live/matrix-media-repo.git .
|
||||
# renovate: datasource=github-releases depName=turt2live/matrix-media-repo versioning=semver-coerced
|
||||
- git clone --branch v1.3.4 --depth 1 https://github.com/turt2live/matrix-media-repo.git .
|
||||
docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^\\.woodpecker/.*\\.ya?ml$"],
|
||||
"matchStrings": [
|
||||
"datasource=(?<datasource>.*?)( registryUrl=(?<registryUrl>[^ ]*))? depName=(?<depName>[^ ]*)( versioning=(?<versioning>.*?))?\\s*- git clone --branch (?<currentValue>[^ ]*)\\s.*"
|
||||
],
|
||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue