We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4831342 commit ed643d8Copy full SHA for ed643d8
1 file changed
.github/workflows/build-yunyu-server-native-image.yml
@@ -18,8 +18,8 @@ env:
18
19
jobs:
20
build-and-push:
21
- # 优先使用 GitHub 的原生 ARM64 Runner 以大幅提升构建速度
22
- runs-on: ubuntu-24.04-arm64
+ # 回退到标准的 AMD64 Runner,构建速度较快,但产物不支持在 ARM 机器上原生运行
+ runs-on: ubuntu-latest
23
permissions:
24
contents: read
25
packages: write
@@ -35,7 +35,6 @@ jobs:
35
distribution: 'temurin'
36
cache: 'maven'
37
38
- # 原生 ARM 环境下不需要 QEMU,但为了兼容性可以保留,或者直接去掉
39
- name: Set up Docker Buildx
40
uses: docker/setup-buildx-action@v3
41
@@ -61,7 +60,7 @@ jobs:
61
60
context: .
62
file: ./docker/native-image/Dockerfile
63
push: true
64
- platforms: linux/arm64
+ platforms: linux/amd64
65
tags: ${{ steps.meta.outputs.tags }}
66
labels: ${{ steps.meta.outputs.labels }}
67
cache-from: type=gha
0 commit comments