Tilt CLI Reference

tilt dump image-deploy-ref

Determine the name and tag with which Tilt will deploy the given image

Synopsis

Determine the name and tag with which Tilt will deploy the given image.

This command is intended to be used with custom_build scripts.

Once the custom_build script has built the image at $EXPECTED_REF, it can invoke:

echo $(tilt dump image-deploy-ref $EXPECTED_REF)

to print the deploy ref of the image. Tilt will read the image contents, determine its hash, and create a content-based tag.

More info on custom build scripts: https://docs.tilt.dev/custom_build.html

tilt dump image-deploy-ref REF [flags]

Examples

tilt dump image-deploy-ref $EXPECTED_REF

Options

  -h, --help   help for image-deploy-ref

Options inherited from parent commands

  -d, --debug                          Enable debug logging
      --klog int                       Enable Kubernetes API logging. Uses klog v-levels (0-4 are debug logs, 5-9 are tracing logs)
      --log-flush-frequency duration   Maximum number of seconds between log flushes (default 5s)
      --trace                          Enable tracing
      --traceBackend string            Which tracing backend to use. Valid values are: 'windmill', 'lightstep', 'jaeger' (default "windmill")
  -v, --verbose                        Enable verbose logging

SEE ALSO

Auto generated by spf13/cobra on 10-Aug-2020
 
 
 

Was this doc helpful?