Files
ha-addon-teslamate/.github/workflows/test.yaml
T
renovate[bot] 145e7e6807 Update home-assistant/builder action to v2026 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-24 13:07:11 +00:00

49 lines
935 B
YAML

name: Test
on:
push:
branches:
- main
paths:
- build.yaml
- config.yaml
- build.json
- config.json
- Dockerfile
- rootfs/**
pull_request:
branches:
- main
paths:
- build.yaml
- config.yaml
- build.json
- config.json
- Dockerfile
- rootfs/**
jobs:
build:
runs-on: ubuntu-latest
name: Build add-on
strategy:
matrix:
arch: ["amd64", "aarch64"]
steps:
- name: Check out repository
uses: actions/checkout@v6.0.1
- name: Build add-on
uses: home-assistant/builder@2026.02.0
with:
args: |
--test \
--${{ matrix.arch }} \
--target /data/ \
--addon
- name: Image labels
run: |
docker inspect ghcr.io/lildude/ha-addon-teslamate-${{ matrix.arch }} --format='{{json .Config.Labels}}' | jq