The --push-images
flag is one way to improve development speed when working with pipelines.
The --push-images
flag performs the following steps after you have built your image:
- In your local registry, generates a unique tag for the image named after the
transform.image
field of your pipeline spec.
đĄ
You must build your image with your username as a prefix (example: pachyderm/example-joins-inner-outer
) – This name must match the one declared in the transform.image
field of your pipeline spec.
- Pushes the Docker image, with the tag, to your registry
- Updates the image tag in the pipeline spec json (on the fly) to match the new image
- Submits the updated pipeline to the Pachyderm cluster
The usage of the flag is shown below:
pachctl update pipeline -f <pipeline name> --push-images --registry <registry> --username <registry user>
âšī¸
For more details on the --push-images
flag, see Update a Pipeline.