IMAGE_TAG templating in arguments
This commit is contained in:
parent
f1bccc8e23
commit
4e27cc8b6e
1
package
1
package
|
@ -91,6 +91,7 @@ if __name__ == "__main__":
|
||||||
# Append custom arguments
|
# Append custom arguments
|
||||||
if len(args.override_docker_args) > 0:
|
if len(args.override_docker_args) > 0:
|
||||||
docker_args += args.override_docker_args
|
docker_args += args.override_docker_args
|
||||||
|
docker_args = [a.replace('[IMAGE_TAG]', image_tag) for a in docker_args]
|
||||||
else:
|
else:
|
||||||
|
|
||||||
docker_args += [ "run", "--rm" ]
|
docker_args += [ "run", "--rm" ]
|
||||||
|
|
Loading…
Reference in New Issue