Skip to content

Commit

Permalink
set image path using jinja template
Browse files Browse the repository at this point in the history
  • Loading branch information
s-allius committed Dec 23, 2024
1 parent 772da4f commit a933683
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ha_addons/templates/config.jinja
Original file line number Diff line number Diff line change
@@ -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}}
Expand Down
1 change: 1 addition & 0 deletions ha_addons/templates/debug_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions ha_addons/templates/dev_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions ha_addons/templates/rel_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a933683

Please sign in to comment.