many-exabyte-15566
03/02/2023, 10:19 PMContainerTask
where name of the image is a parameter into my workflow. Naive approach does not work as parameter is a promise that is unresolved at task declaration time:
@workflow
def run_test(version: str) -> str:
run_container_task = ContainerTask(
...
image="repository/test:{version???}",
command=[
"uname",
],
)
return run_container_task(version='v1')
Thanks!freezing-airport-6809
@dynamic
workflows to generate these container tasksfreezing-airport-6809
many-exabyte-15566
03/03/2023, 12:23 AM