Skip to content

Disable major Docker tag updates in Renovate#38

Merged
guillaume-sainthillier merged 4 commits intomainfrom
copilot/sub-pr-37
Mar 19, 2026
Merged

Disable major Docker tag updates in Renovate#38
guillaume-sainthillier merged 4 commits intomainfrom
copilot/sub-pr-37

Conversation

Copy link
Contributor

Copilot AI commented Mar 17, 2026

Renovate was proposing major PHP version bumps (e.g., 7.4-alpine8.x-alpine) via automated PRs. Added a packageRule to suppress these for Dockerfile dependencies, and reverted the bot's previously applied PHP tag updates.

Changes

  • renovate.json: Add rule matching dockerfile manager with matchUpdateTypes: ["major"] and enabled: false — minor/patch updates are unaffected and still automerge.
{
  "matchManagers": ["dockerfile"],
  "matchUpdateTypes": ["major"],
  "enabled": false
}
  • Reverted Dockerfiles: Restored the original PHP tags in all Dockerfiles that had been updated by the Renovate bot (5.6, 7.4, 7.4-ci, 7.4-symfony, 8.0, 8.0-ci, 8.0-symfony, 8.1-ci, 8.2-ci, 8.3-ci, 8.4-ci).

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: guillaume-sainthillier <5052984+guillaume-sainthillier@users.noreply.github.com>
Copilot AI changed the title [WIP] Update php Docker tag Disable major Docker tag updates in Renovate Mar 17, 2026
@guillaume-sainthillier guillaume-sainthillier changed the base branch from renovate/php-8.x to main March 17, 2026 06:17
@guillaume-sainthillier
Copy link
Member

@copilot ok but revert the bot updates before merging

Co-authored-by: guillaume-sainthillier <5052984+guillaume-sainthillier@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 17, 2026

@copilot ok but revert the bot updates before merging

Done in commit 5491089 — reverted all 11 Dockerfiles (5.6, 7.4, 7.4-ci, 7.4-symfony, 8.0, 8.0-ci, 8.0-symfony, 8.1-ci, 8.2-ci, 8.3-ci, 8.4-ci) back to their original PHP tags. The renovate.json rule to disable future major updates is still in place.

@guillaume-sainthillier guillaume-sainthillier marked this pull request as ready for review March 19, 2026 06:01
@guillaume-sainthillier guillaume-sainthillier merged commit 5fc7dda into main Mar 19, 2026
24 checks passed
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