Author: Nick Santos
Use Ko (https://github.com/google/ko) to build images for Tilt.
- ref: The name of the image to build. Must match the image name in the Kubernetes resources you're deploying.
- import_path: A Go import path of the binary to build.
- deps: A list of dependencies that can trigger rebuilds.
load('ext://ko', 'ko_build')
ko_build('hello-world-image',
'github.com/mattmoor/warm-image/cmd/sleeper')