Skip to content

Commit ccd9746

Browse files
committed
add dedicated arm runner for build
1 parent 3f5deb2 commit ccd9746

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,18 @@ env:
1717
jobs:
1818
build:
1919
name: Build images
20-
runs-on: ubuntu-24.04
2120
strategy:
2221
fail-fast: false
2322
matrix:
2423
platform: [
25-
{name: "linux/amd64", tag: "amd64"},
26-
{name: "linux/arm64/v8", tag: "arm64v8"}
24+
{name: "linux/amd64", tag: "amd64", runner: "ubuntu-24.04"},
25+
{name: "linux/arm64/v8", tag: "arm64v8", runner: "ubuntu-24.04-arm"}
2726
]
27+
runs-on: ${{ matrix.platform.runner }}
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
3131

32-
- name: Install qemu dependency
33-
run: |
34-
sudo apt-get update
35-
sudo apt-get install -y qemu-user-static
36-
3732
- name: Build Image
3833
id: build_image
3934
run: buildah bud --platform ${{ matrix.platform.name }} -f ./Dockerfile -t ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} .

0 commit comments

Comments
 (0)