Skip to content

Tell Renovate not to bump the AlmaLinux base image tags - #935

Merged
silug merged 1 commit into
masterfrom
renovate-ignore-almalinux-tags
Jul 27, 2026
Merged

Tell Renovate not to bump the AlmaLinux base image tags#935
silug merged 1 commit into
masterfrom
renovate-ignore-almalinux-tags

Conversation

@silug

@silug silug commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Problem

The almalinux tags in build/Dockerfiles/ are pinned on purpose — one image per EL major, with the *_Build images pinned to a specific minor:

File Tag
SIMP_EL8_Beaker.dockerfile almalinux:8
SIMP_EL8_Build.dockerfile almalinux:8.4
SIMP_EL9_Beaker.dockerfile almalinux:9
SIMP_EL9_Build.dockerfile almalinux:9.0
SIMP_EL10_Beaker.dockerfile almalinux:10
SIMP_EL10_Build.dockerfile almalinux:10.0

Renovate 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.2 and EL9 to 10.2. That PR is marked Immortal, so closing it unmerged just gets it recreated.

Fix

One packageRule disabling the almalinux Docker dep, scoped to build/Dockerfiles/**. Nothing else in the repo is excluded:

  • bundler deps (Gemfile, github>simp/renovate-config:ruby.json) keep updating
  • the github-actions manager keeps updating (that's what produced e5c0a37)
  • any other FROM / COPY --from image added to those same Dockerfiles later is still tracked

Excluding the Dockerfiles wholesale was not necessary.

Notes

  • matchDepNames: ["almalinux"] is the right matcher here: for FROM almalinux:8 the dockerfile manager sets both depName and packageName to almalinux (lib/modules/manager/dockerfile/extract.ts).
  • There is no inline escape hatch — the dockerfile manager has no # renovate: ignore support, only # renovate: datasource=… hint comments for ARG/ENV lines. A config rule is the only mechanism available.
  • Kept repo-local rather than pushing it into simp/renovate-config, which today only sets extends + ignorePaths. If other repos pin EL base images the same way, it could move up later.

Verification

  • renovate-config-validator renovate.jsonConfig validated successfully

Once this is on master, Renovate's next run should auto-close #923.

🤖 Generated with Claude Code

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>
@silug
silug merged commit 6c586c2 into master Jul 27, 2026
3 checks passed
@silug
silug deleted the renovate-ignore-almalinux-tags branch July 27, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants