github.com/grahambrereton-form3/tilt@v0.10.18/internal/build/label.go (about)

     1  package build
     2  
     3  import "github.com/windmilleng/tilt/internal/dockerfile"
     4  
     5  const (
     6  	// Label for all image builds created with Tilt.
     7  	//
     8  	// It's the responsibility of ImageBuilder to ensure
     9  	// that all images built with Tilt have an appropriate BuildMode label.
    10  	BuildMode dockerfile.Label = "tilt.buildMode"
    11  
    12  	// Label when an image is created by a test.
    13  	TestImage dockerfile.Label = "tilt.test"
    14  
    15  	// Label when an image is for path caching.
    16  	CacheImage dockerfile.Label = "tilt.cache"
    17  )
    18  
    19  const (
    20  	BuildModeScratch dockerfile.LabelValue = "scratch"
    21  )