mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 21:56:29 +00:00
Add support for arch in custom image name
This commit is contained in:
parent
9109e3803b
commit
a9b4174590
@ -231,7 +231,7 @@ class AddonsData(Config):
|
|||||||
if ATTR_IMAGE not in addon_data:
|
if ATTR_IMAGE not in addon_data:
|
||||||
return "{}/{}-addon-{}".format(DOCKER_REPO, self.arch, addon)
|
return "{}/{}-addon-{}".format(DOCKER_REPO, self.arch, addon)
|
||||||
|
|
||||||
return addon_data[ATTR_IMAGE]
|
return addon_data[ATTR_IMAGE].format(arch=self.arch)
|
||||||
|
|
||||||
def map_config(self, addon):
|
def map_config(self, addon):
|
||||||
"""Return True if config map is needed."""
|
"""Return True if config map is needed."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user