Skip to content

Commit

Permalink
Add prebuild addon images
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Dec 14, 2023
1 parent 6d2e6c2 commit 8a7ab41
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/addon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Addon

on: # TODO: change to release
push:
branches:
- main'
jobs:
build:
name: Build image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build and push tagged Docker image
run: |
docker run --rm --privileged \
-v ~/.docker:/root/.docker \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(pwd)":/data homeassistant/amd64-builder \
--target airmx-addon \
--all \
--docker-user ${{ secrets.DOCKER_USERNAME }} \
--docker-password ${{ secrets.DOCKER_PASSWORD }}
3 changes: 2 additions & 1 deletion airmx-addon/config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: AIRMX
version: '0.0.1.dev1'
version: '0.0.1.dev2'
slug: airmx-addon
description: Local control AIRMX devices
url: https://github.com/dext0r/airmx
image: dextor/ha-addon-airmx-{arch}
arch:
- aarch64
- amd64
Expand Down

0 comments on commit 8a7ab41

Please sign in to comment.