From abc271b823967f776a67f8132cdb8d07c8fbb567 Mon Sep 17 00:00:00 2001
From: Cédric Ollivier <cedric.ollivier@orange.com>
Date: Sun, 9 Aug 2020 02:48:28 +0200
Subject: Fix tag regex
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: If2ce41ef2e6be3e8c4a2a7630feaa9d5089c471f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
 jjb/functest/functest.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'jjb')

diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 19752cc25..5b87c59c7 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -152,7 +152,7 @@
             image={repo}:{port}/{container}:{tag}
           fi
           volumes=""
-          if [ "{tag}" = "hunter" ]; then
+          if [[ "{tag}" =~ "hunter" ]]; then
             volumes=-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static \
               -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static
           fi
-- 
cgit