Update target_image_config.go
This commit is contained in:
parent
5c91c7aae6
commit
ac7cc8c5ac
|
@ -48,6 +48,8 @@ type TargetImageConfig struct {
|
||||||
func (c *TargetImageConfig) Prepare(ctx *interpolate.Context) []error {
|
func (c *TargetImageConfig) Prepare(ctx *interpolate.Context) []error {
|
||||||
var errs []error
|
var errs []error
|
||||||
|
|
||||||
|
errs = append(errs, c.ImageTag.CopyOn(c.ImageTags)...)
|
||||||
|
|
||||||
if c.ImageName == "" {
|
if c.ImageName == "" {
|
||||||
errs = append(errs, fmt.Errorf("An image_name must be specified"))
|
errs = append(errs, fmt.Errorf("An image_name must be specified"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue