diff --git a/src/main/python/ddadevops/devops_docker_build.py b/src/main/python/ddadevops/devops_docker_build.py index e58d8e3..f1c0d42 100644 --- a/src/main/python/ddadevops/devops_docker_build.py +++ b/src/main/python/ddadevops/devops_docker_build.py @@ -81,7 +81,7 @@ class DevopsDockerBuild(DevopsBuild): ' --password ' + self.dockerhub_password, shell=True) def dockerhub_publish(self): - if(self.docker_publish_tag): + if(self.docker_publish_tag is not None): run('docker tag ' + self.name() + ' ' + self.dockerhub_user + '/' + self.name() + ':' + self.docker_publish_tag, shell=True) else: