From ebc48cf6c4f4003c3196013859549273c963f15e Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sun, 17 Sep 2023 17:29:15 -0700 Subject: [PATCH] build: Docker arm64 platform (#1731) --- .github/workflows/docker.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 85407d61..54bc4802 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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