From ce76bf31a87ff85d25034e003fc4bd2a9f61f955 Mon Sep 17 00:00:00 2001
From: Daniele Dal Santo <dal.santo.daniele@cern.ch>
Date: Fri, 8 Nov 2024 14:15:01 +0100
Subject: [PATCH] Added API_IMAGE env variable to config

---
 config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config b/config
index 38b4aad..76dce01 100755
--- a/config
+++ b/config
@@ -8,6 +8,7 @@ set_additional_envvars() {
   API_PORT=5009
   UI_HOSTPORT=5089
   OPTO_BASE_IMAGE=${GL_REGISTRY}/${GL_ROOTGROUP}/${GL_SUBGROUP}/itk-demo-optoboard/opto-base-image:latest
+  API_IMAGE=${GL_REGISTRY}/${GL_ROOTGROUP}/${GL_SUBGROUP}/itk-demo-optoboard/itk-demo-optoboard-api:latest
 
   # GL_PROJECTID=123155
   
@@ -32,6 +33,7 @@ write_additional_dotenv() {
   say "Additional ${1:-.}/.env"
 cat <<-EOF >> ${1:-.}/.env || true
 OPTO_BASE_IMAGE=${OPTO_BASE_IMAGE}
+API_IMAGE=${API_IMAGE}
 CONFIGDB_API_KEY=${CONFIGDB_API_KEY}
 RABBITMQ_IMAGE=${RABBITMQ_IMAGE}
 RABBITMQ_KEY=${RABBITMQ_KEY}
-- 
GitLab