Update Renovate.js (#447)

* Update Renovate.js

* Delete renovate.json
This commit is contained in:
DrMxrcy 2023-05-02 20:42:50 -04:00 committed by GitHub
parent 570dbb9a24
commit dbc6a705c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 53 deletions

View File

@ -1,30 +1,27 @@
module.exports = { module.exports = {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", extends: ["config:base"],
"extends": [ gitIgnoredAuthors: ["githubaction@githubaction.com"],
"config:base" dependencyDashboard: true,
], enabledManagers: ["docker-compose", "dockerfile"],
"gitIgnoredAuthors": [ hostRules: [
"githubaction@githubaction.com"
],
"dependencyDashboard": true,
"enabledManagers": ["docker-compose", "dockerfile"],
"hostRules": [
{ {
"matchHost": "index.docker.io", matchHost: "index.docker.io",
"hostType": "docker", hostType: "docker",
"username": process.env.DOCKERHUB_USERNAME, username: process.env.DOCKERHUB_USERNAME,
"password": process.env.DOCKERHUB_TOKEN password: process.env.DOCKERHUB_TOKEN,
}, },
{ {
"matchHost": "docker.io", matchHost: "docker.io",
"concurrentRequestLimit": 2 concurrentRequestLimit: 2,
} },
], ],
"packageRules": [ packageRules: [
{ {
"managers": ["docker-compose", "dockerfile"], managers: ["docker-compose", "dockerfile"],
"packagePatterns": ["^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)"], packagePatterns: [
"enabled": false "^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)",
} ],
] enabled: false,
},
],
}; };

View File

@ -1,30 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"gitIgnoredAuthors": [
"githubaction@githubaction.com"
],
"dependencyDashboard": true,
"enabledManagers": ["docker-compose", "dockerfile"],
"hostRules": [
{
"matchHost": "index.docker.io",
"hostType": "docker",
"username": "{{ env.DOCKERHUB_USERNAME }}",
"password": "{{ env.DOCKERHUB_TOKEN }}"
},
{
"matchHost": "docker.io",
"concurrentRequestLimit": 2
}
],
"packageRules": [
{
"managers": ["docker-compose", "dockerfile"],
"packagePatterns": ["^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)"],
"enabled": false
}
]
}