fix docker tagging
This commit is contained in:
parent
f85e85805b
commit
ff81729ddd
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class DevopsDockerBuild(DevopsBuild):
|
||||||
' --password ' + self.dockerhub_password, shell=True)
|
' --password ' + self.dockerhub_password, shell=True)
|
||||||
|
|
||||||
def dockerhub_publish(self):
|
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 +
|
run('docker tag ' + self.name() + ' ' + self.dockerhub_user +
|
||||||
'/' + self.name() + ':' + self.docker_publish_tag, shell=True)
|
'/' + self.name() + ':' + self.docker_publish_tag, shell=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue