From a6c4f992cc99ed697433f4b70ef31ef0aeb1d2c4 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sylvester.joosten@gmail.com>
Date: Thu, 14 Jan 2021 18:13:25 -0600
Subject: [PATCH] Now use $JUGGLER_TAG

---
 .gitlab-ci.yml                   | 2 +-
 bin/gen_ci_config                | 4 ++--
 clustering/clustering_config.yml | 2 +-
 ecal/ecal_config.yml             | 4 ++--
 rich/rich_config.yml             | 2 +-
 tracking/tracking_config.yml     | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 043385ab..f7cf9d48 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
 
 default:
   tags:
diff --git a/bin/gen_ci_config b/bin/gen_ci_config
index cad4d51f..1c2c68cc 100755
--- a/bin/gen_ci_config
+++ b/bin/gen_ci_config
@@ -77,7 +77,7 @@ do
   ifile=$((ifile+1))
   cat <<EOF 
 ${CI_JOB_PREFIX}${ifile}_${filename_noext}:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:\$JUGGLER_TAG
   tags:
     - ${CI_TAG}
   stage: benchmarks
@@ -95,7 +95,7 @@ do
   ifile=$((ifile+1))
   cat <<EOF 
 ${CI_JOB_PREFIX}${ifile}_${filename_noext}:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:\$JUGGLER_TAG
   tags:
     - ${CI_TAG}
   stage: benchmarks
diff --git a/clustering/clustering_config.yml b/clustering/clustering_config.yml
index 34eea761..14f16edf 100644
--- a/clustering/clustering_config.yml
+++ b/clustering/clustering_config.yml
@@ -1,5 +1,5 @@
 clustering_barrel_electrons:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
   tags:
     - silicon
   needs: ["configure"]
diff --git a/ecal/ecal_config.yml b/ecal/ecal_config.yml
index 0409b78c..7c993fef 100644
--- a/ecal/ecal_config.yml
+++ b/ecal/ecal_config.yml
@@ -1,5 +1,5 @@
 ecal_1_emcal_electrons:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
   tags:
     - silicon
   needs: ["configure"]
@@ -13,7 +13,7 @@ ecal_1_emcal_electrons:
     - bash ecal/emcal_electrons.sh
 
 ecal_1_emcal_pi0s:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
   tags:
     - silicon
   needs: ["configure"]
diff --git a/rich/rich_config.yml b/rich/rich_config.yml
index 85a7a27b..ca524c30 100644
--- a/rich/rich_config.yml
+++ b/rich/rich_config.yml
@@ -1,5 +1,5 @@
 rich_job_x:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
   tags:
     - silicon
   needs: ["configure"]
diff --git a/tracking/tracking_config.yml b/tracking/tracking_config.yml
index 7e929ece..9e0772b4 100644
--- a/tracking/tracking_config.yml
+++ b/tracking/tracking_config.yml
@@ -1,5 +1,5 @@
 tracking_central_electrons:
-  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+  image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
   tags:
     - silicon
   needs: ["configure"]
-- 
GitLab