ci: Start supporting node.js 18 (#4518)

* ci: start supporting node.js 18

Node.js 18 becomes the active LTS on 2022-10-25, as Node.js 16 goes into maintenance mode.
https://github.com/nodejs/Release#release-schedule

* continue using node 16 for production images

* node 16 for debian and base images as well for now
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-07 15:51:57 +01:00
committed by GitHub
parent 88baaa0eb1
commit 9ee292cd17
14 changed files with 39 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
ARG NODE_VERSION=16
ARG NODE_VERSION=18
# 1. Create an image to build n8n
FROM n8nio/base:${NODE_VERSION} as builder

View File

@@ -227,7 +227,7 @@ docker run -it --rm \
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg N8N_VERSION=<VERSION> -t n8nio/n8n:<VERSION> .
# For example:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg N8N_VERSION=0.114.0 -t n8nio/n8n:0.114.0 .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg N8N_VERSION=0.201.0 -t n8nio/n8n:0.201.0 .
```
## What does n8n mean and how do you pronounce it?