diff --git a/steps/s2i_steps.py b/steps/s2i_steps.py index e6a7dd5..e7891ea 100644 --- a/steps/s2i_steps.py +++ b/steps/s2i_steps.py @@ -29,8 +29,10 @@ def s2i_inner(context, application, path='.', env="", incremental=False, tag="ma mirror = "-e 'MAVEN_MIRROR_URL=%s'" % os.getenv("MAVEN_MIRROR_URL") image_id = "integ-" + context.image + docker_url = os.environ.get("CTF_API_SOCK", 'unix:///var/run/docker.sock') command = f"""s2i build --loglevel=5 --pull-policy if-not-present\ + --url {docker_url}\ {mirror}\ --context-dir={path}\ -r={tag}\