Tag one by one

This commit is contained in:
jpic 2020-02-13 04:04:09 +01:00
parent e80955936c
commit 92e7f2def9

View File

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