From ab5b028f9e1a0e55e971e13875476beec32dabb4 Mon Sep 17 00:00:00 2001
From: Jon Azpiazu <jon.azpiazu@tecnalia.com>
Date: Tue, 19 Oct 2021 14:36:36 +0200
Subject: [PATCH] Try fixing ddeploy template bug

---
 ci-templates/industrial-ci-templates.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml
index 688e1a7..0acda17 100644
--- a/ci-templates/industrial-ci-templates.yml
+++ b/ci-templates/industrial-ci-templates.yml
@@ -42,7 +42,7 @@
     # Run ddeploy
     - ddeploy --yaml ${DDEPLOY_YAML}
     # Get ID of image created by ddeploy
-    - DOCKER_ID=`docker images --format='{{.ID}}' | head -1`
+    - 'DOCKER_ID=$(docker images --format="{{.ID}}" | head -1)'
     # Tag and push
     - docker tag ${DOCKER_ID} ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}
     - docker push ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}
-- 
GitLab