diff --git a/ha_addons/Makefile b/ha_addons/Makefile index d58afb2..b0faba8 100644 --- a/ha_addons/Makefile +++ b/ha_addons/Makefile @@ -104,10 +104,10 @@ FORCE : ; # INST=$(INST_BASE)/ha_addon_dev -repro_files = DOCS.md icon.png logo.png translations/de.yaml translations/en.yaml +repro_files = DOCS.md icon.png logo.png translations/de.yaml translations/en.yaml rootfs/run.sh repro_root = CHANGELOG.md repro_templates = config.yaml -repro_subdirs = translations +repro_subdirs = translations rootfs repro_vers = debug dev rel repro_all_files := $(foreach dir,$(repro_vers), $(foreach file,$(repro_files),$(INST_BASE)/ha_addon_$(dir)/$(file))) diff --git a/ha_addons/templates/config.jinja b/ha_addons/templates/config.jinja index 646f6ac..599ca12 100755 --- a/ha_addons/templates/config.jinja +++ b/ha_addons/templates/config.jinja @@ -1,7 +1,7 @@ name: {{name}} description: {{description}} version: {% if version is defined and version|length %} {{version}} {% else %} {{AppVersion}} {% endif %} -image: docker.io/sallius/tsun-gen3-addon +image: {{image}} url: https://github.com/s-allius/tsun-gen3-proxy slug: {{slug}} advanced: {{advanced}} diff --git a/ha_addons/templates/debug_data.json b/ha_addons/templates/debug_data.json index d325875..bd876fa 100644 --- a/ha_addons/templates/debug_data.json +++ b/ha_addons/templates/debug_data.json @@ -3,6 +3,7 @@ "name": "TSUN-Proxy (Debug)", "description": "MQTT Proxy for TSUN Photovoltaic Inverters with Debug Logging", "version": "debug", + "image": "docker.io/sallius/tsun-gen3-addon", "slug": "tsun-proxy-debug", "advanced": true, "stage": "experimental" diff --git a/ha_addons/templates/dev_data.json b/ha_addons/templates/dev_data.json index a3365f8..d033c12 100644 --- a/ha_addons/templates/dev_data.json +++ b/ha_addons/templates/dev_data.json @@ -3,6 +3,7 @@ "name": "TSUN-Proxy (Dev)", "description": "MQTT Proxy for TSUN Photovoltaic Inverters", "version": "dev", + "image": "docker.io/sallius/tsun-gen3-addon", "slug": "tsun-proxy-dev", "advanced": false, "stage": "experimental" diff --git a/ha_addons/templates/rel_data.json b/ha_addons/templates/rel_data.json index e7b5acb..d6046f5 100644 --- a/ha_addons/templates/rel_data.json +++ b/ha_addons/templates/rel_data.json @@ -2,6 +2,7 @@ { "name": "TSUN-Proxy", "description": "MQTT Proxy for TSUN Photovoltaic Inverters", + "image": "ghcr.io/s-allius/tsun-gen3-addon", "slug": "tsun-proxy", "advanced": false, "stage": "stable"