4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
@@ -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 }}
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user