mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2022.07.0 to 2022.09.0. - [Release notes](https://github.com/home-assistant/builder/releases) - [Commits](https://github.com/home-assistant/builder/compare/2022.07.0...2022.09.0) --- updated-dependencies: - dependency-name: home-assistant/builder dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
name: eufy_create_mr_and_build_image
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
repository_dispatch:
|
|
types: [create_mr_and_build_image]
|
|
# schedule:
|
|
# - cron: "0 6,18 * * *"
|
|
jobs:
|
|
create_mr_and_build_image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: cd eufy-ha-mqtt-bridge && ./version-updater.sh
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
if: ${{ env.CONTINUE }}
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
if: ${{ env.CONTINUE }}
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
if: ${{ env.CONTINUE }}
|
|
|
|
- name: Test build
|
|
uses: home-assistant/builder@2022.09.0
|
|
with:
|
|
args: |
|
|
--all \
|
|
--aarch64 \
|
|
--target eufy-ha-mqtt-bridge \
|
|
--docker-hub maxwinterstein
|
|
if: ${{ env.CONTINUE }}
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
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 }}
|