Simplify Renovate and other small improvements (#97) #129
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", "armv7", "aarch64"] | |
steps: | |
- name: Check out repository | |
uses: actions/[email protected] | |
- name: Build add-on | |
uses: home-assistant/[email protected] | |
with: | |
args: | | |
--test \ | |
--${{ matrix.arch }} \ | |
--target /data/ \ | |
--addon | |
- name: Image labels | |
run: | | |
docker inspect ghcr.io/lildude/ha-addon-ghostfolio-${{ matrix.arch }} --format='{{json .Config.Labels}}' | jq |