diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/xtesting.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
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 . |