new-build support for image source
also change to support an array of input images
@@ -160,10 +160,8 @@ type BuildSource struct {
// Git contains optional information about git build source
Git *GitBuildSource `json:"git,omitempty" description:"optional information about git build source"`
- // Image describes an image to be used to provide source for the build
- // EXPERIMENTAL. This will be changing to an array of images in the near future
- // and no migration/compatibility will be provided. Use at your own risk.
- Image *ImageSource `json:"image,omitempty" description:"optional image build source. EXPERIMENTAL: This will be changing to an array of images in the near future and no migration/compatibility will be provided. Use at your own risk."`
+ // Images describes a set of images to be used to provide source for the build
+ Images []ImageSource `json:"images,omitempty" description:"optional images for build source."`
// ContextDir specifies the sub-directory where the source code for the application exists.
// This allows to have buildable sources in directory other than root of
