add github as well
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Kasper Juul Hermansen 2023-01-14 13:58:45 +01:00
parent dd162d5ba0
commit 915a2850ef
4 changed files with 58 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.env .env
.github.env

42
config-github.json Normal file
View File

@ -0,0 +1,42 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"platform": "github",
"autodiscover": true,
"autodiscoverFilter": ["kjuulh/*"],
"automerge": true,
"automergeType": "pr",
"extends": [
"config:base"
],
"hostRules": [
{
"hostType": "docker",
"matchHost": "harbor.server.kjuulh.io",
"username": "admin",
"password": "{{ secrets.HARBOR_SERVER_PASSWORD }}"
}
],
"packageRules": [
{
"matchDatasources": ["docker"],
"registryUrls": ["https://harbor.server.kjuulh.io/docker-proxy/library/"]
},
{
"groupName": "all dependencies",
"separateMajorMinor": false,
"groupSlug": "all",
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"groupName": "all dependencies",
"groupSlug": "all"
}
],
"lockFileMaintenance": {
"enabled": false
}
}
]
}

View File

@ -17,6 +17,10 @@
} }
], ],
"packageRules": [ "packageRules": [
{
"matchDatasources": ["docker"],
"registryUrls": ["https://harbor.server.kjuulh.io/docker-proxy/library/"]
},
{ {
"groupName": "all dependencies", "groupName": "all dependencies",
"separateMajorMinor": false, "separateMajorMinor": false,

View File

@ -2,7 +2,7 @@ version: '3'
services: services:
renovate: renovate:
image: renovate/renovate:34.23.1 image: renovate/renovate:34
env_file: .env env_file: .env
restart: always restart: always
environment: environment:
@ -10,3 +10,13 @@ services:
LOG_LEVEL: info LOG_LEVEL: info
volumes: volumes:
- "./config.json:/opt/renovate/config.json" - "./config.json:/opt/renovate/config.json"
renovate_github:
image: renovate/renovate:34
env_file: .github.env
restart: always
environment:
RENOVATE_CONFIG_FILE: "/opt/renovate/config-github.json"
LOG_LEVEL: info
volumes:
- "./config-github.json:/opt/renovate/config-github.json"