cleaned docker publish

This commit is contained in:
bom 2021-06-25 12:55:26 +02:00
parent 105212d4ab
commit 48b0ede65a

View file

@ -86,9 +86,6 @@ class DevopsDockerBuild(DevopsBuild):
'/' + self.name() + ':' + self.docker_publish_tag, shell=True) '/' + self.name() + ':' + self.docker_publish_tag, shell=True)
run('docker push ' + self.dockerhub_user + run('docker push ' + self.dockerhub_user +
'/' + self.name() + ':' + self.docker_publish_tag, shell=True) '/' + self.name() + ':' + self.docker_publish_tag, shell=True)
else:
run('docker tag ' + self.name() + ' ' + self.dockerhub_user +
'/' + self.name(), shell=True)
run('docker push ' + self.dockerhub_user + run('docker push ' + self.dockerhub_user +
'/' + self.name(), shell=True) '/' + self.name(), shell=True)