Skip to content
Discussion options

You must be logged in to vote

My bad, I confused the details.

The mechanism: default docker versioning won't offer 21-jre → 21.0.11_10-jre because it enforces a matching segment count. The preset overrides that with regex versioning, which has no segment-count rule, so 21.0.11 sorts above 21 and the update is offered

To stay on 21-jre today, you'll need to add a package rule that ignores updates when the current tag is major-only:

{
"matchDatasources": ["docker"],
"matchPackageNames": ["eclipse-temurin"],
"matchCurrentValue": "/^\\d+-/",
"allowedVersions": "/^\\d+-/"
}

Longer term this looks like a real limitation in the preset's regex versioning and we should track fixing it. Possibly using the docker versioning coul…

Replies: 2 comments 5 replies

This comment was marked as low quality.

@tbroyer
Comment options

Comment options

You must be logged in to vote
4 replies
@tbroyer
Comment options

@RahulGautamSingh
Comment options

@tbroyer
Comment options

@RahulGautamSingh
Comment options

Answer selected by tbroyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants