Skip to content

Commit

Permalink
Update Builder & Wheels + support yellow (home-assistant#73896)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Jun 23, 2022
1 parent 0787ee1 commit 95eeb8e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build base image
uses: home-assistant/[email protected].1
uses: home-assistant/[email protected].2
with:
args: |
$BUILD_ARGS \
Expand Down Expand Up @@ -171,6 +171,7 @@ jobs:
- raspberrypi4
- raspberrypi4-64
- tinker
- yellow
steps:
- name: Checkout the repository
uses: actions/[email protected]
Expand Down Expand Up @@ -200,7 +201,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build base image
uses: home-assistant/[email protected].1
uses: home-assistant/[email protected].2
with:
args: |
$BUILD_ARGS \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
name: requirements_diff

- name: Build wheels
uses: home-assistant/[email protected].6
uses: home-assistant/[email protected].7
with:
abi: cp310
tag: musllinux_1_2
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
fi
- name: Build wheels
uses: home-assistant/[email protected].6
uses: home-assistant/[email protected].7
with:
abi: cp310
tag: musllinux_1_2
Expand Down
14 changes: 14 additions & 0 deletions machine/yellow
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ARG BUILD_VERSION
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION

RUN apk --no-cache add \
raspberrypi \
raspberrypi-libs \
usbutils

##
# Set symlinks for raspberry pi binaries.
RUN ln -sv /opt/vc/bin/raspistill /usr/local/bin/raspistill \
&& ln -sv /opt/vc/bin/raspivid /usr/local/bin/raspivid \
&& ln -sv /opt/vc/bin/raspividyuv /usr/local/bin/raspividyuv \
&& ln -sv /opt/vc/bin/raspiyuv /usr/local/bin/raspiyuv

0 comments on commit 95eeb8e

Please sign in to comment.