Fix tag command

This commit is contained in:
jpic 2020-01-31 20:04:04 +01:00
parent d25d1cdb63
commit 120b5e8778

View File

@ -49,7 +49,8 @@ class Commit:
''')
if self.tags:
script.append(f'buildah tag {self.repo} ' + ' '.join(self.tags))
tags = ' '.join([f'{self.repo}:{tag}' for tag in self.tags])
script.append(f'buildah tag {self.repo} {tags}')
if self.push:
user = os.getenv('DOCKER_USER')