sapcc / mosquitto-exporter

Prometheus metrics exporter for the Mosquitto message broker
Apache License 2.0
128 stars 60 forks source link

Publish Docker images for ARM #44

Open ngosang opened 2 years ago

ngosang commented 2 years ago

You don't need to make changes in your code, just build the Docker images in a different way.

Manual multi-arch build:

docker buildx create --use
docker buildx build -t sapcc/mosquitto-exporter:0.8.0 --platform linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/s390x .

# add --push to publish to DockerHub

Automate Docker build and publishing with GitHub actions: https://github.com/FlareSolverr/FlareSolverr/blob/master/.github/workflows/release-docker.yml