Skip to content

Commit 54cc016

Browse files
authored
Use native ARM builder for aarch64 image (#207)
1 parent 94e1f93 commit 54cc016

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/builder.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,22 @@ jobs:
4545
build:
4646
name: Build ${{ matrix.arch }} plugin
4747
needs: init
48-
runs-on: ubuntu-latest
48+
runs-on: ${{ matrix.runs-on }}
4949
permissions:
5050
contents: read
5151
packages: write
5252
id-token: write
5353
strategy:
5454
matrix:
5555
arch: ${{ fromJson(needs.init.outputs.architectures) }}
56+
include:
57+
- runs-on: ubuntu-24.04
58+
- arch: aarch64
59+
runs-on: ubuntu-24.04-arm
5660
steps:
5761
- name: Checkout the repository
5862
uses: actions/checkout@v6.0.2
59-
63+
6064
- name: Login to GitHub Container Registry
6165
if: needs.init.outputs.publish == 'true'
6266
uses: docker/login-action@v3.7.0
@@ -72,6 +76,7 @@ jobs:
7276
- name: Build plugin
7377
uses: home-assistant/builder@2025.11.0
7478
with:
79+
image: ${{ matrix.arch }}
7580
args: |
7681
$BUILD_ARGS \
7782
--${{ matrix.arch }} \

0 commit comments

Comments
 (0)