Skip to content

Commit 973e392

Browse files
committed
build(ci): parameterize release version in image workflows
Introduce a `releaseversion` input to the image building workflow to allow specifying the OS release (e.g., bookworm, trixie) dynamically. Update the main build workflow to pass `bookworm` for specific hardware targets and update README documentation to reflect the pinned OS version for ReSpeaker 2-Mic HAT v1.
1 parent 4257302 commit 973e392

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
compression: xz
4040
compression-level: 6
4141
custom-hostname: picompose
42+
releaseversion: bookworm
4243

4344
build-2michat-lva:
4445
uses: ./.github/workflows/build-image-template.yml
@@ -48,6 +49,7 @@ jobs:
4849
compression: xz
4950
compression-level: 6
5051
custom-hostname: picompose
52+
releaseversion: bookworm
5153

5254
# RESPEAKER-LITE
5355
build-respeaker_lite:

.github/workflows/build-image-template.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ on:
3131
type: boolean
3232
default: false
3333
description: "Enable rpi-imager.json snippet generation"
34+
releaseversion:
35+
required: true
36+
type: string
37+
default: "trixie"
38+
description: "Final image name"
3439

3540
jobs:
3641
build_images:
@@ -84,7 +89,7 @@ jobs:
8489
stage-list: ${{ inputs.stage-list }}
8590

8691
# Build configuration
87-
release: trixie
92+
release: ${{ inputs.releaseversion }}
8893
compression: ${{ inputs.compression }}
8994
compression-level: ${{ inputs.compression-level }}
9095

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Here is a Overview for the specific images of each hardware:
4646
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
4747
| **Base Image** | If you use other hardware... | • Docker & Docker Compose (piCompose)<br>• Automatic Docker Compose deployment<br>• Pipewire Audio Server<br>• SSH enabled (pi User) |
4848
| **[Satellite1](docs/hardware_sattelite1.md)** | <img src="docs/sattelite1-hat.jpg" alt="ReSpeaker Lite Board" style="width: 200px; height: auto;"> | • * Everything from Base Image<br>• Satellite1 Hat Driver<br>• Linux-Voice-Assistant (OpenHomeFoundation)<br>• Snapcast MultiRoom Audio Client<br>• Pre-configured for Home Assistant<br><br><span style="color: red;">Image is currently work in progress!</span> |
49-
| **[ReSpeaker 2-Mic HAT v1](docs/hardware_2mic_v1.md)** | <img src="docs/respeaker_2michats.webp" alt="ReSpeaker 2-Mics Pi HAT" style="width: 200px; height: auto;"> | • * Everything from Base Image<br>• Seeed Voicecard Driver<br>• Linux-Voice-Assistant (OpenHomeFoundation)<br>• Snapcast MultiRoom Audio Client<br>• Pre-configured for Home Assistant |
50-
| **[ReSpeaker Lite](docs/hardware_respeaker_lite.md)** | <img src="docs/respeaker_lite.jpg" alt="ReSpeaker Lite Board" style="width: 200px; height: auto;"> | • * Everything from Base Image<br>• Audio keep-alive service<br>• Linux-Voice-Assistant (OpenHomeFoundation)<br>• Snapcast MultiRoom Audio Client<br>• Pre-configured for Home Assistant<br>• Workaround for connectivity issues in combination with the Pi Zero 2W.<br><br><span style="color: red;">There is a USB connectivity issue with the Pi Zero 2W. Use this board with at least Raspberry PI 3.</span>
49+
| **[ReSpeaker 2-Mic HAT v1](docs/hardware_2mic_v1.md)** | <img src="docs/respeaker_2michats.webp" alt="ReSpeaker 2-Mics Pi HAT" style="width: 200px; height: auto;"> | • * Everything from Base Image<br>• Seeed Voicecard Driver<br>• Linux-Voice-Assistant (OpenHomeFoundation)<br>• Snapcast MultiRoom Audio Client<br>• Pre-configured for Home Assistant<br><br><span style="color: yellow;">Pinned on bookworm os-release!</span> See [#41](https://github.com/HinTak/seeed-voicecard/issues/41) |
50+
| **[ReSpeaker Lite](docs/hardware_respeaker_lite.md)** | <img src="docs/respeaker_lite.jpg" alt="ReSpeaker Lite Board" style="width: 200px; height: auto;"> | • * Everything from Base Image<br>• Audio keep-alive service<br>• Linux-Voice-Assistant (OpenHomeFoundation)<br>• Snapcast MultiRoom Audio Client<br>• Pre-configured for Home Assistant<br>• Workaround for connectivity issues in combination with the Pi Zero 2W.
5151

5252
### Installation
5353

0 commit comments

Comments
 (0)