forked from alt/image-forge
Fix image type in task.get invocation
This commit is contained in:
parent
382b213b86
commit
dad90431e3
2
build.py
2
build.py
@ -241,7 +241,7 @@ class DockerBuilder:
|
|||||||
@forall_images(consume_result=True)
|
@forall_images(consume_result=True)
|
||||||
def render_dockerfiles(self, **kwargs):
|
def render_dockerfiles(self, **kwargs):
|
||||||
def install_pakages(*names):
|
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)'
|
linux32 = '$([ "$(rpm --eval %_host_cpu)" = i586 ] && echo linux32)'
|
||||||
if tasks:
|
if tasks:
|
||||||
apt_repo = "\\\n apt-get install apt-repo -y && \\"
|
apt_repo = "\\\n apt-get install apt-repo -y && \\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user