Skip to content

Commit

Permalink
chore: add all archs
Browse files Browse the repository at this point in the history
  • Loading branch information
janwo committed Sep 24, 2023
1 parent 61aee24 commit 0b9bf2b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,41 @@ on:
branches: ['main']

jobs:
build:
init:
runs-on: ubuntu-latest
timeout-minutes: 25
outputs:
architectures: ${{ steps.info.outputs.architectures }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master

publish:
name: Publish builder
needs: init
runs-on: ubuntu-latest
strategy:
fail-fast: False
matrix:
architecture: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- uses: actions/checkout@v3
- name: Checkout the repository
uses: actions/checkout@v4

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build images

- name: Publish ${{ matrix.architecture }} builder
uses: home-assistant/builder@master
with:
args: |
--armhf \
--armv7 \
--amd64 \
--i386 \
--${{ matrix.architecture }} \
--cosign \
--target smartblueberry
1 change: 1 addition & 0 deletions smartblueberry/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"arch": [
"armhf",
"armv7",
"aarch64",
"amd64",
"i386"
],
Expand Down
2 changes: 1 addition & 1 deletion smartblueberry/frontend/src/app/form/form.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form *ngIf="formGroup" [formGroup]="formGroup" (ngSubmit)="submit()">
<div
*ngFor="let field of formData?.fields | keyvalue : compare; let i = index"
class="columns is-vcentered is-mobile"
class="columns is-vcentered"
>
<div class="column is-narrow" *ngIf="field.value.type !== 'hidden'">
{{ field.value.label }}
Expand Down

0 comments on commit 0b9bf2b

Please sign in to comment.