From a5fa69314d116e775f593f63d6b173a3f7b8d154 Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Thu, 9 Nov 2023 10:42:42 +0100 Subject: [PATCH] Fix minimal config for renovate --- .github/workflows/renovate-test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/renovate-test.yml b/.github/workflows/renovate-test.yml index 78d818b6d4..d2a2878826 100644 --- a/.github/workflows/renovate-test.yml +++ b/.github/workflows/renovate-test.yml @@ -18,19 +18,20 @@ jobs: - name: Inject custom config run: | mkdir -p config - cat <config/renovate-small.json + cat <<"EOF" >config/renovate-small.json { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "customManagers": [ { "customType": "regex", - "datasourceTemplate": "docker", - "depNameTemplate": "docker/dockerfile", + "datasourceTemplate": "github-tags", + "depNameTemplate": "moby/moby", + "extractVersionTemplate": "^v(?.+?)$", "fileMatch": [ - "(^|/|\\.)Dockerfile[^/]*$" + "^tools/docker/manifest.yaml$" ], "matchStrings": [ - "#syntax=(?.*?):(?.*?)\\n" + "version: \"?(?.*?)\"?\\n" ] } ],