ci: run hassfest safely with dind runner
Hassfest / hassfest (push) Successful in 10s
Tests / test (push) Successful in 35s
Validate / validate-repository (push) Successful in 3s

This commit is contained in:
2026-07-23 22:53:00 -05:00
parent a1da517b4e
commit fa46c14b2f
+10 -1
View File
@@ -16,4 +16,13 @@ jobs:
uses: actions/checkout@v4
- name: Hassfest validation
uses: https://github.com/home-assistant/actions/hassfest@master
run: |
hassfest_container="$(
docker create \
ghcr.io/home-assistant/hassfest \
--core-path=/usr/src/homeassistant \
--integration-path=/github/workspace/custom_components/relaytv
)"
trap 'docker rm --force "$hassfest_container" >/dev/null' EXIT
docker cp custom_components "$hassfest_container:/github/workspace/"
docker start --attach "$hassfest_container"