From 53e20b285200d8b7bc7bd30dfc9a24fa3c0f4897 Mon Sep 17 00:00:00 2001
From: Pierre Smeyers <pierre.smeyers@gmail.com>
Date: Sun, 1 May 2022 13:40:00 +0200
Subject: [PATCH] feat: configurable tracking image

---
 templates/gitlab-ci-golang.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml
index deb0ff8..0b8b051 100644
--- a/templates/gitlab-ci-golang.yml
+++ b/templates/gitlab-ci-golang.yml
@@ -14,6 +14,9 @@
 # Floor, Boston, MA  02110-1301, USA.
 # =========================================================================================
 variables:
+  # variabilized tracking image
+  TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
+
   # Default Go project root directory
   GO_PROJECT_DIR: .
 
@@ -262,7 +265,7 @@ stages:
 .go-base:
   image: $GO_IMAGE
   services:
-    - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
+    - name: "$TBC_TRACKING_IMAGE"
       command: ["--service", "golang", "2.1.3" ]
   variables:
     # The directory where 'go install' will install a command.
-- 
GitLab