Unanswered
Also, Any Advice On Using Best Practice Of Using Task.Create() Instead Of Task.Init()? I Have The Need Of Specifying Docker And Repository, So Only Find Task.Create() Can Achive What I Need. But Then I End Up With Always Creating 2 Scripts For Each Task I
Hi @<1797800418953138176:profile|ScrawnyCrocodile51> , You can set the repository using Task.set_repo
- None
Although if you use Task.init
it will automatically detect the repository from the script. If you don't want to execute the code on your machine you can use Task.execute_remotely
- None
And finally, you can use Task.set_base_docker
to set the docker image you want to use - None
I would advise using Task.init
and it should make your life much easier 🙂
108 Views
0
Answers
6 months ago
6 months ago