Skip to content

Commit 2ece38c

Browse files
committed
enable arm build
1 parent 49da86b commit 2ece38c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/image-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
push: false
1919
tags: ghcr.io/${{ github.repository }}:latest-amd64
2020
file: Dockerfile
21+
platforms: linux/amd64,linux/arm64
2122

2223
build-origin:
2324
name: Image build/origin

.github/workflows/image-push-master.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
2929
context: .
3030
push: true
3131
tags: |
32-
ghcr.io/${{ github.repository }}:latest-amd64
33-
ghcr.io/${{ github.repository }}:snapshot-amd64
32+
ghcr.io/${{ github.repository }}:latest
33+
ghcr.io/${{ github.repository }}:snapshot
3434
file: Dockerfile
35+
platforms: linux/amd64,linux/arm64
3536

3637
push-origin:
3738
name: Image push/origin

0 commit comments

Comments
 (0)