feat: Support Docker for ARM architecture(#35)

This commit is contained in:
Kuenpan Foo
2025-09-07 16:46:18 +08:00
committed by GitHub
parent dffcdb7a8b
commit 72403d5861
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -42,10 +42,10 @@ jobs:
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image (multi arch)
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ env.DOCKER_TAGS }} tags: ${{ env.DOCKER_TAGS }}
+1 -1
View File
@@ -1,7 +1,7 @@
services: services:
foxel: foxel:
image: ghcr.io/drizzletime/foxel:latest image: ghcr.io/drizzletime/foxel:latest
#image: ghcr.nju.edu.cn/drizzletime/foxel:latest #国内用户可以用此镜像命令 #image: ghcr.nju.edu.cn/drizzletime/foxel:latest # 国内用户可以用此镜像命令
container_name: foxel container_name: foxel
restart: unless-stopped restart: unless-stopped
ports: ports: