Hi,
I'm a maintainer of a few HA addons/apps.
I've been a long time user of the home-assistant/builder action and now I'm trying to migrate to the new actions.
However I feel like there is no clear migration procedure. I appreciate the README in this project but there are a number of questions related to the migration which are not addressed like:
- the example pipeline at https://github.com/home-assistant/builder?tab=readme-ov-file#example-workflow only works when you have
on:
release:
types: [published]
as trigger. What if I want to publish docker images for un-released content (e.g. I publish a "Beta" version of each addon where I deploy new developments for manual testing across a few HA instances before releasing them in the "main" channel). I think creating a release for "beta" version would be confusing so I'm trying to adapt this pipeline for triggers like on.push . Having an example as part of migration guide would be useful :)
- with previous
home-assistant/builder action, the Dockerfile of the addon/app had to be structured like:
This does not work anymore apparently; using new action I get:
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.39kB done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 41)
#1 DONE 0.1s
1 warning found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 41)
Dockerfile:41
--------------------
39 | # --- Actual ADDON layer
40 |
41 | >>> FROM $BUILD_FROM
42 |
43 | # Add env
--------------------
ERROR: failed to build: failed to solve: base name ($BUILD_FROM) should not be blank
Also the docs at https://developers.home-assistant.io/docs/apps/tutorial#the-dockerfile-file are not updated and still reference the $BUILD_FROM bit...
what's the new intended base layer for HA addons?
Thanks a lot!
Hi,
I'm a maintainer of a few HA addons/apps.
I've been a long time user of the
home-assistant/builderaction and now I'm trying to migrate to the new actions.However I feel like there is no clear migration procedure. I appreciate the README in this project but there are a number of questions related to the migration which are not addressed like:
as trigger. What if I want to publish docker images for un-released content (e.g. I publish a "Beta" version of each addon where I deploy new developments for manual testing across a few HA instances before releasing them in the "main" channel). I think creating a release for "beta" version would be confusing so I'm trying to adapt this pipeline for triggers like
on.push. Having an example as part of migration guide would be useful :)home-assistant/builderaction, the Dockerfile of the addon/app had to be structured like:This does not work anymore apparently; using new action I get:
Also the docs at https://developers.home-assistant.io/docs/apps/tutorial#the-dockerfile-file are not updated and still reference the $BUILD_FROM bit...
what's the new intended base layer for HA addons?
Thanks a lot!