fromhera.workflowsimport(Artifact,Container,Workflow,modelsasm,)withWorkflow(generate_name="artifact-repository-ref-",entrypoint="main",artifact_repository_ref=m.ArtifactRepositoryRef(key="my-key"),)asw:Container(name="main",image="busybox",command=["sh","-c"],args=["echo hello world | tee /tmp/hello_world.txt"],outputs=[Artifact(name="hello_world",path="/tmp/hello_world.txt")],)
apiVersion:argoproj.io/v1alpha1kind:Workflowmetadata:generateName:artifact-repository-ref-spec:entrypoint:maintemplates:-name:maincontainer:image:busyboxargs:-echo hello world | tee /tmp/hello_world.txtcommand:-sh--coutputs:artifacts:-name:hello_worldpath:/tmp/hello_world.txtartifactRepositoryRef:key:my-key