Do not skip build/commit even if up to date
This commit is contained in:
parent
cada94ecc5
commit
77439b6dc3
@ -57,12 +57,8 @@ class Buildah(Target):
|
|||||||
|
|
||||||
if actions:
|
if actions:
|
||||||
actions = actions[len(keep):]
|
actions = actions[len(keep):]
|
||||||
if not actions:
|
|
||||||
return self.output.success('Image up to date')
|
|
||||||
else:
|
else:
|
||||||
self.actions = self.actions[len(keep):]
|
self.actions = self.actions[len(keep):]
|
||||||
if not self.actions:
|
|
||||||
return self.output.success('Image up to date')
|
|
||||||
|
|
||||||
self.ctr = (await self.parent.exec('buildah', 'from', self.base)).out
|
self.ctr = (await self.parent.exec('buildah', 'from', self.base)).out
|
||||||
self.root = Path((await self.parent.exec('buildah', 'mount', self.ctr)).out)
|
self.root = Path((await self.parent.exec('buildah', 'mount', self.ctr)).out)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user