From 05b9d8d392eebac9e29a753de58863950aa8a6c1 Mon Sep 17 00:00:00 2001 From: Josh Willox Date: Mon, 10 Jun 2024 12:53:13 +1000 Subject: [PATCH] ci: add `build.yaml` to renovate config --- .github/renovate.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 55d99cf..2ddbfee 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,4 +1,22 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>jcwillox/renovate-config", ":automergeMinor"] + "extends": ["github>jcwillox/renovate-config", ":automergeMinor"], + "customManagers": [ + { + "fileMatch": ["(^|/)build\\.yaml$"], + "matchStringsStrategy": "any", + "matchStrings": [ + "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", + "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" + ], + "datasourceTemplate": "docker" + } + ], + "packageRules": [ + { + "groupName": "Add-on base image", + "matchDatasources": ["docker"], + "matchPackagePrefixes": ["ghcr.io/hassio-addons/base"] + } + ] }