We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b26872 commit e74b75fCopy full SHA for e74b75f
3 files changed
.github/workflows/deploy.yml
@@ -36,7 +36,7 @@ jobs:
36
with:
37
context: .
38
push: true
39
- platforms: linux/amd64
+ platforms: linux/arm64
40
tags: |
41
${{ env.IMAGE_NAME }}:latest
42
${{ env.IMAGE_NAME }}:${{ github.sha }}
Dockerfile
@@ -1,5 +1,6 @@
1
# 多阶段构建:第一阶段用 GraalVM 编译 Native Image
2
-FROM ghcr.io/graalvm/native-image-community:25-muslib AS build
+# 使用标准 glibc 版本,muslib (musl) 变体对 arm64 支持有限
3
+FROM ghcr.io/graalvm/native-image-community:25 AS build
4
5
WORKDIR /app
6
docker-compose.yml
@@ -1,7 +1,7 @@
services:
backend:
image: ${BACKEND_IMAGE_NAME:-ghcr.io/involutionhell/involutionhell-backend:latest}
- platform: linux/amd64
+ platform: linux/arm64
pull_policy: always
container_name: involution-hell-backend
7
restart: always
0 commit comments