Skip to content

Commit 5dfc00d

Browse files
authored
Update addon_publishing.markdown
1 parent 4880c60 commit 5dfc00d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/hassio/addon_publishing.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,42 @@ sharing: true
99
footer: true
1010
---
1111

12-
At the end, all add-ons are simple docker container. You can use our [build scripts][builder] for automate the hole process our you can build your own docker image and push it manual do a docker hub. Inside your addon `config.json` can you use:
12+
At the end, all add-ons are simple docker container. You can use our [build scripts][builder] that automate the whole process or you can build your own docker image and push it manually to a docker hub. Inside your addon `config.json` you specify the Docker image that will be installed for your add-on:
13+
1314
```json
14-
{
15-
"image": "myhub/image-addon-name"
16-
}
1715
{
1816
"image": "myhub/image-{arch}-addon-name"
1917
}
2018
```
2119

22-
To specify from where it will load the addon by user installation. With `{arch}` inside image name, you can build your addon for multible architectures.
20+
You can use `{arch}` inside the image name to support multiple architectures with 1 configuration file. It will be replaced with the architecture of the user when we load the image.
2321

24-
Best praxis is to merge change into a branch like `build`. After you push the addon to docker hub, you can merge this branch to master.
22+
Development best practices is to merge your changes into a branch like `build`. After you push the addon to docker hub, you can merge this branch to master.
2523

2624
## {% linkable_title Custom Add-ons %}
2725

28-
You need a docker hub account. It is also possible to use our own docker registrator. Download our [build script][builder] local.
26+
You need a docker hub account to make your own add-ons. Download our [build script][builder] local.
2927

3028
For a git repository:
29+
3130
```bash
3231
# Test only:
3332
./create_hassio_addon.sh -a amd64 -s addon-slug -r https://github.com/xy/addons -b branchname
3433

35-
# push do docker hub:
34+
# push to docker hub:
3635
./create_hassio_addon.sh -a amd64 -s addon-slug -r https://github.com/xy/addons -b branchname -p
3736

3837
# create for all supported arch:
3938
./create_addon_all.sh -s addon-slug -r https://github.com/xy/addons -b branchname -p
4039
```
4140

4241
For a local repository:
42+
4343
```bash
4444
# Test only:
4545
./create_hassio_addon.sh -a amd64 -s addon-slug -l /home/xy/my_local_repo
4646

47-
# push do docker hub:
47+
# push to docker hub:
4848
./create_hassio_addon.sh -a amd64 -s addon-slug -l /home/xy/my_local_repo -p
4949
```
5050

0 commit comments

Comments
 (0)