Compare commits

2 Commits

Author SHA1 Message Date
067477431b fix: Chef cook uses wrong toolchain
All checks were successful
Build and deploy / build (push) Successful in 12m12s
Build and deploy / Deploy container (push) Has been skipped
This adds a toolchain setup step to the base image so we do not have to
do it multiple times
2025-11-17 05:28:22 +01:00
31d89b82be chore: Upgraded to new workflow 2025-11-17 05:28:22 +01:00
3 changed files with 7 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
build: build:
uses: dreaded_x/workflows/.gitea/workflows/docker-kubernetes.yaml@ef78704b98c72e4a6b8340f9bff7b085a7bdd95c uses: dreaded_x/workflows/.gitea/workflows/docker-kubernetes.yaml@a302fa5a1ce1ac580039fa1ef306a9fd80f698e7
secrets: inherit secrets: inherit
with: with:
push_manifests: false push_manifests: false
@@ -37,7 +37,7 @@ jobs:
-e AUTOMATION__SECRETS__MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \ -e AUTOMATION__SECRETS__MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \
-e AUTOMATION__SECRETS__HUE_TOKEN=${{ secrets.HUE_TOKEN }} \ -e AUTOMATION__SECRETS__HUE_TOKEN=${{ secrets.HUE_TOKEN }} \
-e AUTOMATION__SECRETS__NTFY_TOPIC=${{ secrets.NTFY_TOPIC }} \ -e AUTOMATION__SECRETS__NTFY_TOPIC=${{ secrets.NTFY_TOPIC }} \
$(echo ${{ toJSON(needs.build.outputs.images) }} | jq .automation -r) git.huizinga.dev/dreaded_x/automation_rs@${{ needs.build.outputs.digest }}
docker network connect web automation_rs docker network connect web automation_rs

View File

@@ -25,18 +25,10 @@ function module.setup(mqtt_client)
}) })
windows.add(window) windows.add(window)
local printer = devices.OutletOnOff.new({
name = "3D Printer",
room = "Guest Room",
topic = helper.mqtt_z2m("guest/printer"),
client = mqtt_client,
})
--- @type Module --- @type Module
return { return {
light, light,
window, window,
printer,
} }
end end

View File

@@ -2,17 +2,14 @@ variable "TAG_BASE" {}
variable "RELEASE_VERSION" {} variable "RELEASE_VERSION" {}
group "default" { group "default" {
targets = ["automation"] targets = ["automation"]
} }
target "docker-metadata-action" {} target "docker-metadata-action" {}
target "automation" { target "automation" {
inherits = ["docker-metadata-action"] inherits = ["docker-metadata-action"]
context = "./" context = "./"
dockerfile = "Dockerfile" dockerfile = "Dockerfile"
tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"] tags = [for tag in target.docker-metadata-action.tags : "${TAG_BASE}:${tag}"]
args = {
RELEASE_VERSION="${RELEASE_VERSION}"
}
} }