Skip to content

Commit

Permalink
Update renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Aug 21, 2024
1 parent b8dc078 commit fe54006
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"automergeStrategy": "squash",
"commitBodyTable": true,
"configMigration": true,
"customDatasources": {
"nginx-plus": {
"defaultRegistryUrlTemplate": "https://docs.nginx.com/nginx/releases/",
"format": "html"
}
},
"extends": [
"config:recommended",
"docker:enableMajor",
Expand All @@ -28,6 +34,12 @@
"matchUpdateTypes": [
"patch"
]
},
{
"extractVersion": "#nginxplusrelease-\\d+-(?<version>)$",
"matchDatasources": [
"custom.nginx-plus"
]
}
],
"postUpdateOptions": [
Expand Down Expand Up @@ -73,6 +85,16 @@
"\\s+(?:[a-z]-)?version: (?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\s",
"\\s*[A-Z_]+?_VERSION: (?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\s"
]
},
{
"datasourceTemplate": "custom.nginx-plus",
"description": "Update NGINX Plus version in Dockerfiles",
"fileMatch": [
"(^|/)Dockerfile$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\sNGINX_PLUS_VERSION=(?<currentValue>.+?)\\s"
]
}
],
"timezone": "America/Los_Angeles"
Expand Down

0 comments on commit fe54006

Please sign in to comment.