Create renovate.json (#451)

* Create renovate.json

* Update renovate.yml
This commit is contained in:
DrMxrcy 2023-05-02 21:03:11 -04:00 committed by GitHub
parent 612a9d51cd
commit 3721589ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions

View File

@ -28,7 +28,6 @@ jobs:
uses: renovatebot/github-action@v32.118.0
with:
token: ${{ secrets.RENOVATE_TOKEN }}
configurationFile: renovate.js
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

30
renovate.json Normal file
View File

@ -0,0 +1,30 @@
{
"$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
}
]
}