Files
renovate/lib/modules/manager/batect/readme.md
RahulGautamSingh bc7d0595d0 feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +00:00

34 lines
1.2 KiB
Markdown

Extracts all Docker images and Batect bundles from Batect configuration files.
For updates to Batect itself, see [batect-wrapper](../batect-wrapper/index.md).
### Files searched
By default, the manager searches for files called `batect.yml` or `batect-bundle.yml`.
If you keep your Batect configuration in other files, you'll need to tell Renovate where to find them.
Files included in your main configuration file with `include` don't need to be listed.
You do this by creating a `"batect"` object in your `renovate.json` file.
This object should have a `managerFilePatterns` array with regular expressions that match the configuration file names.
For example:
```json
{
"batect": {
"managerFilePatterns": [
"/(^|/)batect(-bundle)?\\.yml$/",
"/(^|/)my-other-batect-file\\.yml$/",
"/^a-directory/[^/]*\\.yml$/"
]
}
}
```
### Bundle versioning
This manager assumes that any bundles referenced use tags for versioning, and that these tags use [SemVer](../../versioning/semver/index.md).
The implementation of SemVer is strict - versions must follow the `X.Y.Z` or `vX.Y.Z` format.
Versions that don't match this format (eg. `X.Y`) will be ignored.