Skip to content

feat: add Renovate custom regex manager for MCP server images in registry.json #1328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Aug 8, 2025

Description

This PR adds a Renovate custom regex manager configuration to automatically detect and update Docker image versions in the pkg/registry/data/registry.json file.

Changes

  • Added a new custom regex manager in renovate.json that:

    • Detects Docker image references in the "image" field of registry.json
    • Supports various Docker registry formats (Docker Hub, GitHub Container Registry, AWS ECR, Microsoft Container Registry, Quay.io, etc.)
    • Groups these updates under "mcp server images" for better organization
  • Updated the existing "dockerfile template base images" package rule to properly scope it to template files only

Benefits

  • Automated dependency updates for MCP server Docker images
  • Grouped updates for easier review and management
  • Consistent with existing Renovate configuration patterns in the project

{
"customType": "regex",
"description": "Update MCP server Docker images in registry.json",
"managerFilePatterns": ["pkg/registry/data/registry.json"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if updating the image might affect tools or metadata. If so, should we update those too? (Not sure how, though.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good point. We have some thv subcommands to get tools and such, so perhaps we should start leveraging them. I'm not sure yet how to run custom commands with Renovate, so I'll research that or implement it with gh actions.

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.

3 participants