Skip to content

The Build Flag

The --build flag is one way to improve development speed when working with pipelines. Unlike build pipelines, this method still uses docker images. This feature is particularly useful if you want to continue to work with docker images, e.g. because your team is accustomed to them, or because you need the added flexibility.

The --build flag performs the following steps:

  1. Builds the Docker image specified in the pipeline
  2. Gives the images a unique tag
  3. Pushes the Docker image to the registry
  4. Updates the image tag in the pipeline spec json to match the new image
  5. Submits the updated pipeline to the Pachyderm cluster

The usage of the flag is shown below:

pachctl update pipeline -f <pipeline name> --build --registry <registry> --username <registry user>

Note

For more details on the --build flag, see Update a Pipeline.


Last update: November 10, 2020