From 2e3b9d8e5b93cbc57d409b7fef6046d3a23d2d13 Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 16 Feb 2020 19:37:18 +0100 Subject: [PATCH] Avoid double push --- shlax/targets/buildah.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlax/targets/buildah.py b/shlax/targets/buildah.py index e2cfed4..11860c5 100644 --- a/shlax/targets/buildah.py +++ b/shlax/targets/buildah.py @@ -160,7 +160,7 @@ class Buildah(Localhost): if self.status == 'success': await self.commit() - if 'push' in args or os.getenv('CI'): + if 'push' in args: await self.push() if self.mnt is not None: