little-zoo-45501
06/13/2023, 7:28 PMcurl
, go
commands, etc) and I want to be able to specify to flyte to use this image via the --image
command when running/registering the workflow.
The task looks something like:
container_task = ContainerTask(
name="export_container",
input_data_dir="/var/inputs",
output_data_dir="/var/outputs",
inputs=kwtypes(name=str),
outputs=kwtypes(response=str),
image="{{image.ours.fqn}}:{{image.ours.version}}", # <---- here
command=[
"/bin/sh",
"-c",
"python -m my.module cmd {{.inputs.name}} > /var/outputs/response",
],
)
Thanks!freezing-airport-6809
little-zoo-45501
06/13/2023, 9:30 PMfreezing-airport-6809
little-zoo-45501
06/14/2023, 2:07 PM