From 87aa84b4565422a84742cbb0d7e48194891f5d91 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 5 Sep 2020 13:27:27 +0200 Subject: Fix path in docker builds due to mts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia5a7181e0884ffec0335a49154fa00c607248b14 Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'jjb') diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 40fd3abe3..f915f53dd 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -159,7 +159,12 @@ else build_arg="--build-arg {ref_arg}={ref}" fi - cd {path} + case {tag} in + *latest) + cd {path};; + *) + cd docker;; + esac sudo docker build $build_arg \ --pull=false --no-cache --force-rm=true \ -t $image . -- cgit 1.2.3-korg