diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 130be91..09c9c33 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,6 +23,8 @@ jobs: - 17 steps: - uses: actions/checkout@v2 + # Setup QEMU for ARM64 Build + - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v1 with: version: "v0.5.1" @@ -36,7 +38,7 @@ jobs: with: context: ./nodejs file: ./nodejs/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: | ghcr.io/parkervcp/yolks:nodejs_${{ matrix.tag }} diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index fa4e8a3..45e80bd 100644 --- a/nodejs/12/Dockerfile +++ b/nodejs/12/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-buster-slim +FROM --platform=$TARGETOS/$TARGETARCH node:12-buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/nodejs/14/Dockerfile b/nodejs/14/Dockerfile index 00fa989..634402c 100644 --- a/nodejs/14/Dockerfile +++ b/nodejs/14/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-buster-slim +FROM --platform=$TARGETOS/$TARGETARCH node:14-buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/nodejs/15/Dockerfile b/nodejs/15/Dockerfile index 7287133..6d9b491 100644 --- a/nodejs/15/Dockerfile +++ b/nodejs/15/Dockerfile @@ -1,4 +1,4 @@ -FROM node:15-buster-slim +FROM --platform=$TARGETOS/$TARGETARCH node:15-buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile index 8b9b6f2..b09c15f 100644 --- a/nodejs/16/Dockerfile +++ b/nodejs/16/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-buster-slim +FROM --platform=$TARGETOS/$TARGETARCH node:16-buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile index 0ea4c7d..f8c6257 100644 --- a/nodejs/17/Dockerfile +++ b/nodejs/17/Dockerfile @@ -1,4 +1,4 @@ -FROM node:17-buster-slim +FROM --platform=$TARGETOS/$TARGETARCH node:17-buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"