try arm64 runner
build rgb-board / build (push) Successful in 1m36s Details

main
Nathan Wagner 10 months ago
parent 78a145dae8
commit 3365c8f075

@ -34,4 +34,4 @@ jobs:
with:
push: true
tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }}
platforms: linux/arm64,linux/amd64
platforms: linux/arm64

@ -108,10 +108,9 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) {
json.Unmarshal([]byte(string(msg.Payload())), &incoming)
fmt.Println(incoming.Type)
if incoming.Type == "doorbell" {
a.msg = string(msg.Payload())
a.ctx.DrawString(a.msg, 5, 9)
} else {
go appendImage(incoming.Image, a)
} else {
a.ctx.DrawString(a.msg, 5, 9)
}
default:
}

Loading…
Cancel
Save