Default to master

This commit is contained in:
jpic 2020-01-31 20:09:43 +01:00
parent 120b5e8778
commit 3168149acb

View File

@ -48,6 +48,9 @@ class Commit:
buildah commit --format={self.format} $ctr {self.repo}
''')
if 'master' in self.tags:
self.tags.append('latest')
if self.tags:
tags = ' '.join([f'{self.repo}:{tag}' for tag in self.tags])
script.append(f'buildah tag {self.repo} {tags}')