From f90f0ecb5c0e9e128d4e9ff88fca3c4d5463e5e9 Mon Sep 17 00:00:00 2001 From: Max Winterstein Date: Fri, 8 Jan 2021 21:17:04 +0100 Subject: [PATCH] Add flow for toogoodtogo bridge --- .github/workflows/main.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2556b5a..fe90c9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,37 @@ on: jobs: + + toogoodtogo-ha-mqtt-bridge: + runs-on: ubuntu-latest + + steps: + - + name: Checkout + uses: actions/checkout@v2 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: toogoodtogo-ha-mqtt-bridge/ + file: toogoodtogo-ha-mqtt-bridge/Dockerfile-real + platforms: linux/amd64,linux/arm/v7,linux/arm64 + push: true + tags: | + maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge:latest + eufy-ha-mqtt-bridge: runs-on: ubuntu-latest