diff --git a/README.md b/README.md index 306c28c..5e867e2 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,9 @@ Alternatively, on Linux, you can try using the IP `172.17.0.1`. ### Home Assistant -If you happen to be using Home Assistant, here's how you might request -wake-on-lan of a remote server via wake-on-lan-service. This example is of an -automation action in your Home Assistant configuration: +If you happen to be using Home Assistant in Docker, here's how you might +request wake-on-lan of a remote server via wake-on-lan-service. This example +is of an automation action in your Home Assistant configuration: ``` automation: @@ -94,9 +94,12 @@ automation: - service: shell_command.wake_my_server shell_command: - wake_my_server: "echo 00:00:0a:bb:28:fc | nc -N host.docker.internal 18888" + wake_my_server: "echo 00:00:0a:bb:28:fc | nc host.docker.internal 18888" ``` +(Home Assistant's Docker image includes netcat from busybox instead of OpenBSD +netcat, so omit the `-N` flag.) + ## Security diff --git a/push.sh b/push.sh index 6863666..aed71c6 100755 --- a/push.sh +++ b/push.sh @@ -8,5 +8,5 @@ sudo docker buildx build -t $IMAGE:amd64 . sudo docker push $IMAGE:amd64 sudo docker buildx build --platform linux/arm/v7 --build-arg IMAGE_PREFIX="arm32v7/" -t $IMAGE:armv7 . sudo docker push $IMAGE:armv7 -sudo docker manifest create $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7 +sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7 sudo docker manifest push $IMAGE:latest