Default to master
This commit is contained in:
parent
120b5e8778
commit
3168149acb
@ -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}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user