Skip to content

Commit

Permalink
Remove unsupported archs
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogranzotto committed Mar 26, 2021
1 parent 79f6a5a commit 2b5c8a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,3 @@ jobs:
= /version => "${{ github.run_number }}"
- name: build aarch64 image
run: docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v ~/.docker:/root/.docker -v "$(pwd)":/data homeassistant/amd64-builder -t lovelace-kindle-screensaver --aarch64 --test
build-i386:
name: Build i386 image
runs-on: ubuntu-latest
needs: [dockerlint]
steps:
- uses: actions/checkout@v2
- name: Patch files
uses: onlyutkarsh/[email protected]
with:
files: |
lovelace-kindle-screensaver/config.json
patch-syntax: |
= /version => "${{ github.run_number }}"
- name: build i386 image
run: docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v ~/.docker:/root/.docker -v "$(pwd)":/data homeassistant/amd64-builder -t lovelace-kindle-screensaver --i386 --test
build-armhf:
name: Build armhf image
runs-on: ubuntu-latest
needs: [dockerlint]
steps:
- uses: actions/checkout@v2
- name: Patch files
uses: onlyutkarsh/[email protected]
with:
files: |
lovelace-kindle-screensaver/config.json
patch-syntax: |
= /version => "${{ github.run_number }}"
- name: build armhf image
run: docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v ~/.docker:/root/.docker -v "$(pwd)":/data homeassistant/amd64-builder -t lovelace-kindle-screensaver --armhf --test
4 changes: 1 addition & 3 deletions lovelace-kindle-screensaver/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base/aarch64:9.1.5",
"amd64": "ghcr.io/hassio-addons/base/amd64:9.1.5",
"armhf": "ghcr.io/hassio-addons/base/armhf:9.1.5",
"armv7": "ghcr.io/hassio-addons/base/armv7:9.1.5",
"i386": "ghcr.io/hassio-addons/base/i386:9.1.5"
"armv7": "ghcr.io/hassio-addons/base/armv7:9.1.5"
},
"args": {}
}
2 changes: 1 addition & 1 deletion lovelace-kindle-screensaver/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"webui": "http://[HOST]:[PORT:5000]/output/cover.png",
"image": "sibbl/addon-lovelace-kindle-screensaver-{arch}",
"startup": "application",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"arch": ["armv7", "aarch64", "amd64"],
"map": [
"media:rw",
"config:rw",
Expand Down

0 comments on commit 2b5c8a6

Please sign in to comment.