Tell Renovate not to bump the AlmaLinux base image tags - #935
Merged
Conversation
The almalinux tags in build/Dockerfiles are pinned deliberately: one image per EL major, with the Build images pinned to a specific minor. Renovate had no way to know that and kept proposing cross-major bumps (EL8 -> 10.2, EL9 -> 10.2), most recently in #923. Disable the almalinux Docker dep for build/Dockerfiles only. Everything else in the repo -- bundler deps, the github-actions manager, and any other image referenced from those same Dockerfiles -- keeps updating. The dockerfile manager has no inline "renovate: ignore" comment support, so a config rule is the only available mechanism. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
michael-riddle
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
almalinuxtags inbuild/Dockerfiles/are pinned on purpose — one image per EL major, with the*_Buildimages pinned to a specific minor:SIMP_EL8_Beaker.dockerfilealmalinux:8SIMP_EL8_Build.dockerfilealmalinux:8.4SIMP_EL9_Beaker.dockerfilealmalinux:9SIMP_EL9_Build.dockerfilealmalinux:9.0SIMP_EL10_Beaker.dockerfilealmalinux:10SIMP_EL10_Build.dockerfilealmalinux:10.0Renovate has no way to know that, so it treats each one as a stale tag and proposes cross-major bumps — #923 wanted to take EL8 to
10.2and EL9 to10.2. That PR is marked Immortal, so closing it unmerged just gets it recreated.Fix
One
packageRuledisabling thealmalinuxDocker dep, scoped tobuild/Dockerfiles/**. Nothing else in the repo is excluded:Gemfile,github>simp/renovate-config:ruby.json) keep updatinggithub-actionsmanager keeps updating (that's what produced e5c0a37)FROM/COPY --fromimage added to those same Dockerfiles later is still trackedExcluding the Dockerfiles wholesale was not necessary.
Notes
matchDepNames: ["almalinux"]is the right matcher here: forFROM almalinux:8the dockerfile manager sets bothdepNameandpackageNametoalmalinux(lib/modules/manager/dockerfile/extract.ts).# renovate: ignoresupport, only# renovate: datasource=…hint comments forARG/ENVlines. A config rule is the only mechanism available.simp/renovate-config, which today only setsextends+ignorePaths. If other repos pin EL base images the same way, it could move up later.Verification
renovate-config-validator renovate.json→Config validated successfullyOnce this is on
master, Renovate's next run should auto-close #923.🤖 Generated with Claude Code