Pass Variables via a JS Config File (#446)
* Pass Variables via a JS Config File * Create renovate.js
This commit is contained in:
parent
0b3cec1525
commit
570dbb9a24
1
.github/workflows/renovate.yml
vendored
1
.github/workflows/renovate.yml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
|||
uses: renovatebot/github-action@v32.118.0
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
configFile: renovate.js
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
|
30
renovate.js
Normal file
30
renovate.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
module.exports = {
|
||||
"$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": process.env.DOCKERHUB_USERNAME,
|
||||
"password": process.env.DOCKERHUB_TOKEN
|
||||
},
|
||||
{
|
||||
"matchHost": "docker.io",
|
||||
"concurrentRequestLimit": 2
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"managers": ["docker-compose", "dockerfile"],
|
||||
"packagePatterns": ["^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)"],
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
};
|
Loading…
Reference in New Issue
Block a user