mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-16 13:20:55 +00:00
Update eufy-ha-mqtt-bridge to prebuild images
This commit is contained in:
@@ -11,25 +11,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: cd eufy-ha-mqtt-bridge && ./version-updater.sh
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
title: Update eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }}
|
||||
commit-message: Update eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }}
|
||||
committer: Max Winterstein <MaxWinterstein@users.noreply.github.com>
|
||||
author: Max Winterstein <MaxWinterstein@users.noreply.github.com>
|
||||
assignees: MaxWinterstein
|
||||
body: |
|
||||
Update report
|
||||
- Update related files of eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }} [Changelog][1]
|
||||
- Build docker image, check [DockerHub][2]
|
||||
|
||||
[1]: https://github.com/matijse/eufy-ha-mqtt-bridge/releases
|
||||
[2]: https://hub.docker.com/r/maxwinterstein/homeassistant-addon-eufy-ha-mqtt-bridge
|
||||
if: ${{ env.CONTINUE }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
if: ${{ env.CONTINUE }}
|
||||
@@ -44,14 +28,30 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
if: ${{ env.CONTINUE }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
|
||||
- name: Test build
|
||||
uses: home-assistant/builder@master
|
||||
with:
|
||||
context: eufy-ha-mqtt-bridge/
|
||||
file: eufy-ha-mqtt-bridge/Dockerfile-real
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
maxwinterstein/homeassistant-addon-eufy-ha-mqtt-bridge:${{ env.ADDON_NEXT_VERSION }}
|
||||
args: |
|
||||
--all \
|
||||
--aarch64 \
|
||||
--target eufy-ha-mqtt-bridge \
|
||||
--docker-hub maxwinterstein
|
||||
if: ${{ env.CONTINUE }}
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
title: Update eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }}
|
||||
commit-message: Update eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }}
|
||||
committer: Max Winterstein <MaxWinterstein@users.noreply.github.com>
|
||||
author: Max Winterstein <MaxWinterstein@users.noreply.github.com>
|
||||
assignees: MaxWinterstein
|
||||
body: |
|
||||
Update report
|
||||
- Update related files of eufy-mqtt-ha-bridge to version ${{ env.MQTT_BRIDGE_VERSION }} [Changelog][1]
|
||||
- Build docker image, check [DockerHub][2]
|
||||
|
||||
[1]: https://github.com/matijse/eufy-ha-mqtt-bridge/releases
|
||||
[2]: https://hub.docker.com/r/maxwinterstein/
|
||||
if: ${{ env.CONTINUE }}
|
||||
|
||||
Reference in New Issue
Block a user