Skip to content

Commit

Permalink
Add armv7 support for Hassio addon (#106)
Browse files Browse the repository at this point in the history
* Add armv7 hassio addon
  • Loading branch information
sibbl authored Feb 6, 2024
1 parent 36ec4a8 commit a921ac8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 27 deletions.
45 changes: 19 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,23 @@ jobs:
sibbl/hass-lovelace-kindle-screensaver-ha-addon-aarch64:${{ env.PACKAGE_VERSION }},
sibbl/hass-lovelace-kindle-screensaver-ha-addon-aarch64:latest
- name: Build and push HA_Addon ARMv7 to Docker
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile.HA_ADDON
build-args: BUILD_FROM=homeassistant/armv7-base:latest
platforms: linux/armv7
push: true
tags: |
sibbl/hass-lovelace-kindle-screensaver-ha-addon-armv7:${{ env.PACKAGE_VERSION }},
sibbl/hass-lovelace-kindle-screensaver-ha-addon-armv7:latest
# Currently fails with. I'dont know why, as build womm. Someone?
#8 0.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armhf/APKINDEX.tar.gz
#8 1.271 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armhf/APKINDEX.tar.gz
#8 2.193 ERROR: unable to select packages:
#8 2.282 chromium (no such package):
#8 2.282 required by: world[chromium]
# - name: Build and push HA_Addon ARMv7 to Docker
# uses: docker/build-push-action@v2
# with:
# context: .
# file: ./Dockerfile.HA_ADDON
# build-args: BUILD_FROM=homeassistant/armhf-base:latest
# platforms: linux/armhf
# push: true
# tags: |
# sibbl/hass-lovelace-kindle-screensaver-ha-addon-armv7:${{ env.PACKAGE_VERSION }},
# sibbl/hass-lovelace-kindle-screensaver-ha-addon-armv7:latest

# - name: Tag git commit
# uses: pkgdeps/git-tag-action@v2
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# github_repo: ${{ github.repository }}
# version: ${{ env.PACKAGE_VERSION }}
# git_commit_sha: ${{ github.sha }}
# git_tag_prefix: "v"
- name: Tag git commit
uses: pkgdeps/git-tag-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_repo: ${{ github.repository }}
version: ${{ env.PACKAGE_VERSION }}
git_commit_sha: ${{ github.sha }}
git_tag_prefix: "v"
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ boot: auto
arch:
- aarch64
- amd64
# - - See github/ci.yml
- armv7
url: 'https://github.com/sibbl/hass-lovelace-kindle-screensaver'
image: 'sibbl/hass-lovelace-kindle-screensaver-ha-addon-{arch}'
webui: 'http://[HOST]:[PORT:5000]'
Expand Down

0 comments on commit a921ac8

Please sign in to comment.