cleaned docker publish
This commit is contained in:
parent
105212d4ab
commit
48b0ede65a
1 changed files with 1 additions and 4 deletions
|
@ -86,12 +86,9 @@ class DevopsDockerBuild(DevopsBuild):
|
|||
'/' + self.name() + ':' + self.docker_publish_tag, shell=True)
|
||||
run('docker push ' + self.dockerhub_user +
|
||||
'/' + 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 +
|
||||
'/' + self.name(), shell=True)
|
||||
'/' + self.name(), shell=True)
|
||||
|
||||
def test(self):
|
||||
run('docker build -t ' + self.name() + '-test ' +
|
||||
|
|
Loading…
Reference in a new issue