From dd8b5a89cedc0c9e736d9f7bee35be18d5134691 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Wed, 3 Apr 2024 08:12:38 +0200 Subject: [PATCH] feat: parameterized container image for script extraction --- templates/extract.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/extract.yml b/templates/extract.yml index 2ed6b09..f11060a 100644 --- a/templates/extract.yml +++ b/templates/extract.yml @@ -1,6 +1,10 @@ +variables: + # base image used to extract the shell script part from TBC templates + TBC_EXTRACT_IMAGE: registry.hub.docker.com/library/alpine + # this job extracts the bash script from the given template(s) extract-script: - image: registry.hub.docker.com/library/alpine + image: $TBC_EXTRACT_IMAGE stage: .pre script: - echo "#!/bin/bash" > script.sh -- GitLab