Skip to content

Commit

Permalink
Add armv7 hassio addon
Browse files Browse the repository at this point in the history
  • Loading branch information
sibbl authored Feb 6, 2024
1 parent 36ec4a8 commit df10079
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- armv7-support

jobs:
multi:
Expand Down Expand Up @@ -55,30 +56,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"

0 comments on commit df10079

Please sign in to comment.