The Push Images Flag
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.TipYou must build your image with your username as a prefix (example: pachyderm/example-joins-inner-outer
) – This name must match the one declared in thetransform.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 HPE Machine Learning Data Management cluster
The usage of the flag is shown below:
pachctl update pipeline -f <pipeline name> --push-images --registry <registry> --username <registry user>
Note
--push-images
flag, see Update a Pipeline.