feat: ARM64 support for Node.js

resolves #10
This commit is contained in:
Alex
2021-10-22 15:24:42 +03:00
parent b24985022a
commit 8ba8f2f811
6 changed files with 8 additions and 6 deletions

View File

@@ -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 }}

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"