Setup renovate custom manager
This commit is contained in:
parent
3d7f0454de
commit
ed2b67f29d
|
@ -12,7 +12,8 @@ steps:
|
||||||
clone:
|
clone:
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
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:
|
docker:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
secrets: [docker_username, docker_password]
|
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