From e19c9061ae73adb38bed0d175038e5fb19a82996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Wed, 27 Nov 2019 13:13:34 +0100 Subject: [PATCH] Use branch in build_adapters --- system_testing.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/system_testing.py b/system_testing.py index a855c379f..9cbe036cf 100644 --- a/system_testing.py +++ b/system_testing.py @@ -42,9 +42,10 @@ def build_adapters(systest, tag, branch, local, force_rebuild): participants = get_test_participants(systest) docker_args = { 'tag': '', - 'build_args': {"from": docker.get_namespace() + baseimage_name if local - else 'precice/' + baseimage_name }, - 'force_rebuild': force_rebuild, + 'build_args': { + "from": docker.get_namespace() + baseimage_name if local else 'precice/' + baseimage_name, + "branch": branch}, + 'force_rebuild': force_rebuild, 'dockerfile': 'Dockerfile'} with common.chdir(os.path.join(os.getcwd(), 'adapters')):