浏览代码

Fix platform problem

yhirose 5 月之前
父节点
当前提交
eb11032797
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      .github/workflows/release-docker.yml

+ 1 - 3
.github/workflows/release-docker.yml

@@ -1,6 +1,3 @@
-
-
-
 name: Release Docker Image
 
 on:
@@ -47,6 +44,7 @@ jobs:
           context: .
           file: ./Dockerfile
           push: true
+          platforms: linux/amd64,linux/arm64  # Build for both amd64 and arm64
           # Use extracted tag without leading 'v'
           tags: |
             yhirose4dockerhub/cpp-httplib-server:latest