Do not forcibly push when building, either.

This commit is contained in:
Rodríguez, Jorge 2016-06-08 11:45:39 +03:00 committed by Matt Clay
parent 89e8787d65
commit 82c26ad2d7

View file

@ -268,7 +268,6 @@ class ImageManager(DockerBaseClass):
self.log("Building image %s" % image_name) self.log("Building image %s" % image_name)
self.results['actions'].append("Built image %s from %s" % (image_name, self.path)) self.results['actions'].append("Built image %s from %s" % (image_name, self.path))
self.results['changed'] = True self.results['changed'] = True
self.push = True
if not self.check_mode: if not self.check_mode:
self.results['image'] = self.build_image() self.results['image'] = self.build_image()
elif self.load_path: elif self.load_path: