From 77439b6dc34802f085b17e988a17641f42c4e100 Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 6 Dec 2020 19:09:41 +0100 Subject: [PATCH] Do not skip build/commit even if up to date --- shlax/targets/buildah.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shlax/targets/buildah.py b/shlax/targets/buildah.py index f5951e2..6d6c45e 100644 --- a/shlax/targets/buildah.py +++ b/shlax/targets/buildah.py @@ -57,12 +57,8 @@ class Buildah(Target): if actions: actions = actions[len(keep):] - if not actions: - return self.output.success('Image up to date') else: 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.root = Path((await self.parent.exec('buildah', 'mount', self.ctr)).out)