diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..f79e302 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,20 @@ +{ + "extends": ["customManagers:makefileVersions"], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": ["/(^|/)docker-bake\\.hcl$/"], + "matchStrings": [ + "# renovate: datasource=(?[a-zA-Z0-9-._]+?) depName=(?[^\\s]+?)\\s+[A-Za-z0-9_]+\\s*=\\s*\"(?[^\"]+)\"" + ] + } + ], + "packageRules": [ + { + "description": "Track 6.1 stable kernel tags (vX.Y.Z). Extracting drops rc tags. The org preset automerges patch bumps. github-runner-vm CI boots the kernel before the image reaches runners.", + "matchDepNames": ["gregkh/linux"], + "extractVersion": "^v(?\\d+\\.\\d+\\.\\d+)$", + "allowedVersions": "/^6\\.1\\./" + } + ] +} diff --git a/Dockerfile b/Dockerfile index a7de785..f575cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* ARG KERNEL_BRANCH=6.1 +# renovate: datasource=github-tags depName=gregkh/linux ARG KERNEL_VERSION=6.1.191 RUN git clone --depth 1 -c advice.detachedHead=false \ diff --git a/Makefile b/Makefile index 11cc4df..8a02d9d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ SHELL := /bin/bash ARCH ?= $(shell uname -m) KERNEL_BRANCH ?= 6.1 +# renovate: datasource=github-tags depName=gregkh/linux KERNEL_VERSION ?= 6.1.191 MAKEFILE_DIR := $(realpath $(shell dirname $(firstword $(MAKEFILE_LIST)))) diff --git a/docker-bake.hcl b/docker-bake.hcl index 2fe3f02..bf00cb8 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -3,6 +3,7 @@ variable "KERNEL_BRANCH" { } variable "KERNEL_VERSION" { + # renovate: datasource=github-tags depName=gregkh/linux default = "6.1.191" } @@ -22,6 +23,7 @@ target "linux61" { inherits = ["default"] args = { KERNEL_BRANCH = "6.1" + # renovate: datasource=github-tags depName=gregkh/linux KERNEL_VERSION = "6.1.191" } }