From 306d307f2a2df6ba7c9fbb6a79628abddd26979b Mon Sep 17 00:00:00 2001
From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com>
Date: Sun, 12 May 2024 14:06:26 +0200
Subject: [PATCH] enables configuration of tbc-check image

---
 templates/validation.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/templates/validation.yml b/templates/validation.yml
index 33db09c..cff572e 100644
--- a/templates/validation.yml
+++ b/templates/validation.yml
@@ -8,6 +8,10 @@ spec:
       description: tags to filter applicable runners for tbc-checklinks build job
       type: array
       default: []
+    tbc-check-image:
+      description: image to use for tbc-check job
+      type: string
+      default: registry.gitlab.com/to-be-continuous/tools/tbc-check:latest
 
 ---
 
@@ -86,7 +90,7 @@ check-links:
 
 tbc-check:
   image:
-    name: registry.gitlab.com/to-be-continuous/tools/tbc-check:latest
+    name: $[[ inputs.tbc-check-image ]]
     entrypoint: [""]
   stage: build
   script:
-- 
GitLab