Changed docker build image function name
Change-Id: If14d1f790a2ed56b3041799f730c8b9bdf683a40
diff --git a/src/com/mirantis/mk/Docker.groovy b/src/com/mirantis/mk/Docker.groovy
index 73ef359..3975b06 100644
--- a/src/com/mirantis/mk/Docker.groovy
+++ b/src/com/mirantis/mk/Docker.groovy
@@ -15,7 +15,7 @@
* @param timestamp Image tag
* @return "docker app" - result of docker.build
*/
-def buildDockerImageStep(img, baseImg, dockerFile, timestamp) {
+def buildDockerImage(img, baseImg, dockerFile, timestamp) {
def imageDir = dockerFile.substring(0, dockerFile.lastIndexOf("/"))
if (baseImg) {
sh "git checkout -f ${dockerFile}; sed -i -e 's,^FROM.*,FROM ${baseImg},g' ${dockerFile}"