kpetremann / mqtt-exporter

Simple generic MQTT Prometheus exporter for IoT working out of the box
https://hub.docker.com/r/kpetrem/mqtt-exporter
MIT License
108 stars 30 forks source link

Adding GitHub action to publish multi-arch docker image #4

Closed zubairov closed 3 years ago

zubairov commented 3 years ago

Unfortunately, the docker image kpetrem/mqtt-exporter has only one arch hence does not work under other architectures (e.g. on Raspberry PI). Adding this file to the repository will automatically build and publish images on dockerhub for all available architectures. No additional costs will apply as it's based on Github Actions.

Please change the last line of the main.yml to place the correct dockerhub username.

zubairov commented 3 years ago

p.s. I would have squashed my commits before, sorry, but you could do it by merge too. Ah, and add your dockerhub login and dockerhub token to project secrets too.

zubairov commented 3 years ago

This is BTW how it looks like on dockerhub:

image

kpetremann commented 3 years ago

Thanks for the work.

Regarding the needed change (zubairov/ to kpetrem/) can you update your PR? Otherwise I would have to clone your PR.

kpetremann commented 3 years ago

All good for me, thanks.