Print the name of the image we are trying to push
@@ -128,7 +128,7 @@ func (l *LocalBuilder) Build(ctx context.Context, out io.Writer, tagger tag.Tagg
}
if !*l.LocalBuild.SkipPush {
if err := docker.RunPush(ctx, l.api, tag, out); err != nil {
- return nil, errors.Wrap(err, "running push")
+ return nil, errors.Wrapf(err, "pushing [%s]", tag)
}
}
