mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-16 21:03:10 +00:00
Build with home-assistant/builder
This commit is contained in:
33
.github/workflows/toogoodtogo-ha-mqtt-bridge.yml
vendored
33
.github/workflows/toogoodtogo-ha-mqtt-bridge.yml
vendored
@@ -5,38 +5,29 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Image Tag'
|
||||
description: "Image Tag"
|
||||
required: true
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
toogoodtogo-ha-mqtt-bridge:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Set up QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
-
|
||||
name: Login to DockerHub
|
||||
uses: docker/login-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
|
||||
- name: Build and push
|
||||
uses: home-assistant/builder@master
|
||||
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:${{ github.event.inputs.version }}
|
||||
args: |
|
||||
--all \
|
||||
--target toogoodtogo-ha-mqtt-bridge \
|
||||
--docker-hub maxwinterstein --version ${{ github.event.inputs.version }}
|
||||
Reference in New Issue
Block a user