Skip to content

Commit ebdc8a3

Browse files
committed
feat: simplify CI configuration by standardizing runner for ARM64 builds
Signed-off-by: liuhy <[email protected]>
1 parent 790bd2d commit ebdc8a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
jobs:
3333
# Separate job for native builds vs emulated builds
3434
build_native:
35-
runs-on: ${{ matrix.arch == 'arm64' && 'macos-26' || 'ubuntu-latest' }}
35+
runs-on: ubuntu-latest
3636
permissions:
3737
contents: read
3838
packages: write
@@ -53,8 +53,8 @@ jobs:
5353
- name: Set up Docker Buildx
5454
uses: docker/setup-buildx-action@v3
5555

56-
- name: Set up QEMU (fallback for ARM64 if native runners unavailable)
57-
if: matrix.arch == 'arm64' && runner.arch != 'ARM64'
56+
- name: Set up QEMU for cross-compilation
57+
if: matrix.arch == 'arm64'
5858
uses: docker/setup-qemu-action@v3
5959
with:
6060
platforms: arm64

0 commit comments

Comments
 (0)