ct-Open-Source / tuya-convert

A collection of scripts to flash Tuya IoT devices to alternative firmwares
MIT License
4.6k stars 496 forks source link

GitHub Actions workflow #1012

Open rnsc opened 2 years ago

rnsc commented 2 years ago

Hello,

Not sure if you'd be interested, but as I was building the image for myself, I thought I'd provide the work I did to build a multi-arch image (amd64, arm64, arm/v7). This GitHub Actions workflow will build the image whenever the Dockerfile or version.json file are modified. It also supports the workflow_dispatch mode, meaning that you can trigger it for any branch if you'd like.

The workflow requires two secrets to be set on the repo: DOCKER_HUB_USER DOCKER_HUB_TOKEN

The user variable is used for the base path of the image on the Docker hub registry.

Let me know what you think!