Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions examples/image/private_base_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@
This example demonstrates how to build a new image using a private base image,
then push the resulting image back to the same private registry.

This workflow will change in the next couple weeks, but for now:

First run the old CLI command to create a file. This will extract out from your local docker daemon logged in tokens.
```
union create imagepullsecret
```


Take the file that was created and then call the following to create a registry secret:
Create a registry secret from your local docker daemon's logged-in tokens:
```
flyte create secret --type image_pull pingsutw --from-file <PATH/to/above file>
flyte create secret --type image_pull pingsutw --from-docker-config
```

Keep in mind we only support one secret for now for a given image. If you have a private registry that you need to pull
Expand Down
Loading