IMAGE_TAG templating in arguments

This commit is contained in:
wpetit 2017-07-11 14:42:52 +02:00
parent f1bccc8e23
commit 4e27cc8b6e
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ if __name__ == "__main__":
# Append custom arguments
if len(args.override_docker_args) > 0:
docker_args += args.override_docker_args
docker_args = [a.replace('[IMAGE_TAG]', image_tag) for a in docker_args]
else:
docker_args += [ "run", "--rm" ]