Fix image build path error

This commit is contained in:
Hang Yan
2018-02-24 15:40:00 +08:00
parent 170acd9e1a
commit e119b30ebd
7 changed files with 43 additions and 9 deletions
+2 -2
View File
@@ -660,13 +660,13 @@ func (k *Kubernetes) Transform(komposeObject kobject.KomposeObject, opt kobject.
return nil, err
}
// Build the container!
// Build the image!
err = transformer.BuildDockerImage(service, name, composeFileDir)
if err != nil {
return nil, errors.Wrapf(err, "Unable to build Docker image for service %v", name)
}
// Push the built container to the repo!
// Push the built image to the repo!
err = transformer.PushDockerImage(service, name)
if err != nil {
return nil, errors.Wrapf(err, "Unable to push Docker image for service %v", name)