Skip to content

Initial commit: MeshCentral Home Assistant add-on #1

Initial commit: MeshCentral Home Assistant add-on

Initial commit: MeshCentral Home Assistant add-on #1

Workflow file for this run

name: Build and publish add-on
on:
push:
branches: [main]
paths:
- "meshcentral/**"
release:
types: [published]
jobs:
build:
name: Build ${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
matrix:
arch: [aarch64, amd64, armhf, armv7, i386]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: home-assistant/builder@2024.03.5
with:
args: |
--${{ matrix.arch }} \
--target /data/meshcentral \
--image "ha-meshcentral-addon/meshcentral" \
--docker-hub "ghcr.io/andlo" \
--version ${{ github.ref_name }}