build: Docker arm64 platform (#1731)

This commit is contained in:
LongYinan 2023-09-17 17:29:15 -07:00 committed by GitHub
parent 3418fd3e8f
commit ebc48cf6c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: alpine.Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
@ -38,7 +38,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: debian.Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
@ -61,7 +61,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: debian-aarch64.Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
context: .
@ -73,7 +73,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: debian-zig.Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig
@ -81,6 +81,6 @@ jobs:
uses: docker/build-push-action@v5
with:
file: alpine-zig.Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig