Skip to content

Commit 04ffbf1

Browse files
andifeCopilot
andauthored
Add renovate for updating docker images (onnx#7572)
### Motivation and Context dependabot has not function to update the docker image --------- Signed-off-by: Andreas Fehlner <fehlner@arcor.de> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d401f00 commit 04ffbf1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

renovate.json5

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright (c) ONNX Project Contributors
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
{
6+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
7+
"extends": [
8+
"config:recommended"
9+
],
10+
// Package-specific rules for grouping and enabling updates
11+
"packageRules": [
12+
{
13+
// Group manylinux Docker images together in a single PR
14+
"matchDatasources": ["docker"],
15+
"matchPackageNames": ["quay.io/pypa/manylinux_2_28_x86_64", "quay.io/pypa/manylinux_2_28_aarch64"],
16+
"enabled": true,
17+
"groupName": "manylinux docker images"
18+
}
19+
],
20+
// Custom managers for dependencies not auto-detected by Renovate
21+
"customManagers": [
22+
{
23+
// Detect manylinux Docker images in GitHub Actions workflows
24+
// Example: uses: docker://quay.io/pypa/manylinux_2_28_x86_64:2025.10.10-1
25+
"customType": "regex",
26+
"fileMatch": ["^\\.github/workflows/release_linux\\.yml$"],
27+
"matchStrings": [
28+
"uses:\\s*docker://quay\\.io/pypa/(?<depName>manylinux_[^:]+):(?<currentValue>[0-9]{4}\\.[0-9]{2}\\.[0-9]{2}-[0-9]+)"
29+
],
30+
"datasourceTemplate": "docker",
31+
"depNameTemplate": "quay.io/pypa/{{{depName}}}",
32+
"versioningTemplate": "loose"
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)