Removing customManagers and updating current packageRules and adding one for master tags.
This commit is contained in:
+65
-23
@@ -6,7 +6,6 @@
|
|||||||
":automergeDigest",
|
":automergeDigest",
|
||||||
":automergePatch",
|
":automergePatch",
|
||||||
":automergeRequireAllStatusChecks",
|
":automergeRequireAllStatusChecks",
|
||||||
"customManagers:githubActionsVersions",
|
|
||||||
"default:semanticCommits",
|
"default:semanticCommits",
|
||||||
"default:prHourlyLimitNone",
|
"default:prHourlyLimitNone",
|
||||||
"default:prConcurrentLimit10",
|
"default:prConcurrentLimit10",
|
||||||
@@ -48,20 +47,6 @@
|
|||||||
"dependencyDashboardApproval": true
|
"dependencyDashboardApproval": true
|
||||||
},
|
},
|
||||||
"versioning": "docker",
|
"versioning": "docker",
|
||||||
"customManagers": [
|
|
||||||
{
|
|
||||||
"customType": "regex",
|
|
||||||
"description": "Handle Docker images with optional digest (e.g. :tag or :tag@sha256:...)",
|
|
||||||
"fileMatch": ["(^|/)docker-compose.*\\.ya?ml$"],
|
|
||||||
"matchStrings": [
|
|
||||||
"image:\\s*(?<depName>[\\w./-]+):(?<currentTag>[\\w.-]+)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?"
|
|
||||||
],
|
|
||||||
"datasourceTemplate": "docker",
|
|
||||||
"versioningTemplate": "loose",
|
|
||||||
"extractVersionTemplate": "{{currentTag}}",
|
|
||||||
"extractDigestTemplate": "{{#if currentDigest}}{{currentDigest}}{{/if}}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Alpine-based images only update to Alpine-based versions",
|
"description": "Alpine-based images only update to Alpine-based versions",
|
||||||
@@ -72,22 +57,79 @@
|
|||||||
"allowedVersions": "/alpine/i"
|
"allowedVersions": "/alpine/i"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Replace :stable with digest only",
|
"description": "Replace :latest with semver tag + digest",
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
|
"matchManagers": ["docker-compose"],
|
||||||
|
"matchCurrentValue": "latest",
|
||||||
|
"versioning": "docker",
|
||||||
|
"pinDigests": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Replace :latest with semver tag + digest",
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
|
"matchManagers": ["docker-compose"],
|
||||||
|
"matchCurrentValue": "master",
|
||||||
|
"versioning": "docker",
|
||||||
|
"pinDigests": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Replace :stable with semver tag + digest",
|
||||||
"matchDatasources": ["docker"],
|
"matchDatasources": ["docker"],
|
||||||
"matchManagers": ["docker-compose"],
|
"matchManagers": ["docker-compose"],
|
||||||
"matchCurrentValue": "stable",
|
"matchCurrentValue": "stable",
|
||||||
"versioning": "docker",
|
"versioning": "docker",
|
||||||
"pinDigests": true
|
"pinDigests": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"description": "Update flarectl version in workflows",
|
||||||
|
"fileMatch": [
|
||||||
|
".github/workflows/.*\\.ya?ml$",
|
||||||
|
".gitea/workflows/.*\\.ya?ml$"
|
||||||
|
],
|
||||||
|
"matchStrings": ["FLARECTL_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"packageNameTemplate": "cloudflare/cloudflare-go",
|
||||||
|
"versioningTemplate": "semver",
|
||||||
|
"extractVersionTemplate": "^v?(?<version>.*)$",
|
||||||
|
"allowedVersions": "/^v?0\\..*/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Ignore self-hosted actions",
|
"description": "Update Vault version in workflows",
|
||||||
"matchManagers": ["github-actions"],
|
"fileMatch": [
|
||||||
"matchPackageNames": [
|
".github/workflows/.*\\.ya?ml$",
|
||||||
"Trez/hc-vault-env",
|
".gitea/workflows/.*\\.ya?ml$"
|
||||||
"Trez/docker-select-image-pull",
|
|
||||||
"Trez/gitea-auto-pr"
|
|
||||||
],
|
],
|
||||||
"enabled": false
|
"matchStrings": ["HC_VAULT_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"packageNameTemplate": "hashicorp/vault",
|
||||||
|
"versioningTemplate": "semver",
|
||||||
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Update tea CLI version in workflows",
|
||||||
|
"fileMatch": [
|
||||||
|
".github/workflows/.*\\.ya?ml$",
|
||||||
|
".gitea/workflows/.*\\.ya?ml$"
|
||||||
|
],
|
||||||
|
"matchStrings": ["TEA_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"packageNameTemplate": "go-gitea/tea",
|
||||||
|
"versioningTemplate": "semver",
|
||||||
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Update Renovate version in workflows",
|
||||||
|
"fileMatch": [
|
||||||
|
".github/workflows/.*\\.ya?ml$",
|
||||||
|
".gitea/workflows/.*\\.ya?ml$"
|
||||||
|
],
|
||||||
|
"matchStrings": ["RENOVATE_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"packageNameTemplate": "renovatebot/renovate",
|
||||||
|
"versioningTemplate": "semver",
|
||||||
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user