acoustic-carpenter-78188
07/20/2023, 1:20 PMenvd context create --name flyte-sandbox --builder tcp --builder-address localhost:30003 --use
and executing (pyflyte run --remote wf.py my_wf
) the following workflow:
from flytekit import task, workflow, ImageSpec
image = ImageSpec(
name="imagespec",
registry="localhost:30000",
packages=["smart-open[gcs]"],
apt_packages=["git"],
)
@task(container_image=image)
def my_task() -> str:
return "hello, world!"
@workflow
def my_wf() -> str:
return my_task()
flyteorg/flyte
GitHub Actions: build-and-push-sandbox-bundled-image
✅ 11 other checks have passed
11/12 successful checksacoustic-carpenter-78188
07/20/2023, 1:20 PMacoustic-carpenter-78188
07/20/2023, 1:20 PM