The image schema, the wording in .env.example and the renovate rules
are conventions no file states on its own. Write them down where
coding agents and contributors look first.
Concrete default versions go stale with the first renovate bump, the
imagor one already was. Use the same sentence for every pinned image
and list all image variables uncommented and empty in .env.example.
These five images defaulted to "latest". A host that never pulls stays
on whatever "latest" was at first start, a fresh install gets an
untested version, and one repository state does not describe one set
of images.
Pin each to the version "latest" points to today. Euro Office publishes
no version tags, so it is pinned by digest. The tag variables can still
be set to "latest".
clamav only had a tag variable and the ldap manager none. Give both an
image and a tag variable like the other images that default to a moving
tag, so every such image is configured, pinned and bumped the same way.
Tika was the only image that took name and tag in one variable. Use
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG like the other images, so the
tag can be pinned and bumped the same way.
TIKA_DOCKER_VARIANT=full selects the full image without naming a tag, so
choosing the variant no longer means choosing a version.
BREAKING CHANGE: TIKA_IMAGE is no longer read, compose aborts with a
message while it is still set. Replace
TIKA_IMAGE=apache/tika:latest-full with TIKA_DOCKER_VARIANT=full, or set
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG for any other image.
Patch updates were merged automatically for images written as a fixed
string, but not for images whose tag is a variable, because the rule
was bound to renovate's docker-compose manager. Which manager reads an
image says nothing about how risky its patch releases are.
Drop the manager from the rule, so it covers every image. An image
that should not be merged automatically gets its own rule by package
name, where the exception is visible.
The regex manager needed a "# renovate: depName=" annotation above the
image line and the compose file in a list, and it only understood a
plain x.y.z tag. opensearch was pinned but had neither, so it was never
updated.
Read the image name from the image line itself, scan all yaml files and
accept any tag, with or without a digest. An image is picked up as soon
as its tag is the default of a variable, nothing else to remember.
@@ -57,6 +57,7 @@ Every new image follows one schema. Renovate detects it from the schema alone, t
```
- **Version limits:** an image that must stay on one major gets an `allowedVersions` rule by package name, like `postgres`.
- **Update frequency:** an image pinned by digest gets a PR for every new `latest`. If that is too often, limit it with a `schedule` rule by package name, like `ghcr.io/euro-office/documentserver` (weekly).
- **Tag suffix variants:** a variant published as a tag suffix is a third variable appended to the tag, like `TIKA_DOCKER_VARIANT` in `search/tika.yml`. A variant published as a separate image needs nothing, the image variable selects it.
- **Stable branches:** `renovate.json` on `main` also governs `stable-*`. Check a pattern change against the `image:` lines on those branches.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.