0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/modules/manager/buildpacks/readme.md
Pavel Busko bbedb2d737
feat(manager): Cloud Native Buildpacks project descriptor manager (#30799)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: loewenstein-sap <jan.von.loewenstein@sap.com>
2024-11-21 12:11:58 +00:00

27 lines
987 B
Markdown

The `buildpacks` manager updates Cloud Native Buildpacks project descriptors in `project.toml` files.
A `project.toml` file can reference builder / buildpack images by URIs.
Renovate can update a `project.toml` file if:
- It can find the file
- The file follows the [project descriptor specifications](https://github.com/buildpacks/spec/blob/main/extensions/project-descriptor.md)
- The buildpack `uri` is an OCI image reference (references to a local file or buildpack registry are ignored)
If you use buildpacks in the `io.buildpacks.group` array, then you _must_ configure the Docker reference (`uri`) for Renovate to work.
```toml title="Example of a project.toml file with Docker reference URIs"
[_]
schema-version = "0.2"
[io.buildpacks]
builder = "registry.corp/builder/noble:1.1.1"
[[io.buildpacks.group]]
uri = "docker://buildpacks/java:2.2.2"
[[io.buildpacks.group]]
uri = "buildpacks/nodejs:3.3.3"
[[io.buildpacks.group]]
uri = "file://local.oci" # will be ignored
```