Fix image type in task.get invocation

This commit is contained in:
Mikhail Gordeev 2023-02-15 20:25:51 +03:00
parent 382b213b86
commit dad90431e3

View File

@ -241,7 +241,7 @@ class DockerBuilder:
@forall_images(consume_result=True)
def render_dockerfiles(self, **kwargs):
def install_pakages(*names):
tasks = self.tasks.get(self.branch, kwargs["image"].canonical_name)
tasks = self.tasks.get(self.branch, kwargs["image"])
linux32 = '$([ "$(rpm --eval %_host_cpu)" = i586 ] && echo linux32)'
if tasks:
apt_repo = "\\\n apt-get install apt-repo -y && \\"