Dont bother building buildah on buildah

This commit is contained in:
jpic 2020-02-15 21:21:28 +01:00
parent 5c38dc13b0
commit 4fbae78057

View File

@ -30,7 +30,7 @@ class Buildah(Localhost):
self.push = push or os.getenv('CI')
def shargs(self, *args, user=None, buildah=True, **kwargs):
if not buildah:
if not buildah or args[0].startswith('buildah'):
return super().shargs(*args, user=user, **kwargs)
_args = ['buildah', 'run']