Skip to content

Commit 4d6b453

Browse files
authored
Merge pull request #2910 from xinnan-tech/test-arm64-docker
add:增加linux/arm64docker镜像编译
2 parents b0dc4d8 + 9909045 commit 4d6b453

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-base-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
file: Dockerfile-server-base
3838
push: true
3939
tags: ghcr.io/${{ github.repository }}:server-base
40-
platforms: linux/amd64
40+
platforms: linux/amd64,linux/arm64
4141
cache-from: type=gha,scope=server-base
4242
cache-to: type=gha,mode=max,scope=server-base
4343
build-args: |

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
push: true
6767
tags: |
6868
${{ env.IS_VERSION == 'true' && format('ghcr.io/{0}:server_{1},ghcr.io/{0}:server_latest', github.repository, env.VERSION) || format('ghcr.io/{0}:server_latest', github.repository) }}
69-
platforms: linux/amd64
69+
platforms: linux/amd64,linux/arm64
7070
cache-from: type=gha
7171
cache-to: type=gha,mode=max
7272
build-args: |
@@ -81,7 +81,7 @@ jobs:
8181
push: true
8282
tags: |
8383
${{ env.IS_VERSION == 'true' && format('ghcr.io/{0}:web_{1},ghcr.io/{0}:web_latest', github.repository, env.VERSION) || format('ghcr.io/{0}:web_latest', github.repository) }}
84-
platforms: linux/amd64
84+
platforms: linux/amd64,linux/arm64
8585
cache-from: type=gha
8686
cache-to: type=gha,mode=max
8787
build-args: |

0 commit comments

Comments
 (0)