Skip to content

2.0.0

2.0.0 #145

Workflow file for this run

---
name: Builder
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build ${{ matrix.arch }} add-on
strategy:
matrix:
arch: ["aarch64", "amd64"]
permissions:
contents: read
packages: write
steps:
- name: Check out repository
uses: actions/[email protected]
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build add-on
uses: home-assistant/[email protected]
with:
args: |
--${{ matrix.arch }} \
--image "${{ matrix.arch }}-ha_enoceanmqtt-addon" \
--target /data/addon \
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
--addon