From ff81729ddd57ebc97bc3212188d6daa98dda7cbc Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 25 Jun 2021 11:54:16 +0200 Subject: [PATCH] fix docker tagging --- src/main/python/ddadevops/devops_docker_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: