From ac7cc8c5ac1da1029b0741f2b65a995556f371d4 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 16 Mar 2020 14:53:06 +0100 Subject: [PATCH] Update target_image_config.go --- builder/triton/target_image_config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/triton/target_image_config.go b/builder/triton/target_image_config.go index 5b18854b4..c5a30c22f 100644 --- a/builder/triton/target_image_config.go +++ b/builder/triton/target_image_config.go @@ -48,6 +48,8 @@ type TargetImageConfig struct { func (c *TargetImageConfig) Prepare(ctx *interpolate.Context) []error { var errs []error + errs = append(errs, c.ImageTag.CopyOn(c.ImageTags)...) + if c.ImageName == "" { errs = append(errs, fmt.Errorf("An image_name must be specified")) }