-
Notifications
You must be signed in to change notification settings - Fork 11
Update image builder doc for v2 #635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Deploying docs with
|
| Latest commit: |
4164c14
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4cd3fbf3.docs-dog.pages.dev |
| Branch Preview URL: | https://enghabu-image-builder-v2.docs-dog.pages.dev |
| } | ||
| env = flyte.TaskEnvironment( | ||
| name="hello_v2", | ||
| image=flyte.Image.from_debian_base() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can do this
| image=flyte.Image.from_debian_base() | |
| image=flyte.Image.from_debian_base(name="private", registry="<my registry url>", registry_secret="My-secret") |
| env = flyte.TaskEnvironment( | ||
| name="hello_v2", | ||
| image=flyte.Image.from_debian_base() | ||
| .clone(registry="<my registry url>", name="private", registry_secret="GTEngHabu") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And then drop this
| .clone(registry="<my registry url>", name="private", registry_secret="GTEngHabu") | |
Signed-off-by: Haytham Abuelfutuh <[email protected]>
| name="say-hello-image", | ||
| env = flyte.TaskEnvironment( | ||
| name="hello_v2", | ||
| image=flyte.Image.from_debian_base() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I didn't even want to show secret here... removed this line, will this work?
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh [email protected]