build: Move the n8n and runners images onto n8nio/base:26.7.0 (#36990)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matsu 2026-08-25 08:26:08 +00:00 committed by GitHub
parent c33906903a
commit 3beab6e07e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@ on:
type: boolean
env:
NODE_VERSION: '26.5.1'
NODE_VERSION: '26.7.0'
jobs:
build:

View File

@ -8,7 +8,7 @@ run-name: "${{ github.event_name == 'workflow_dispatch' && format('Docker: Build
env:
NODE_OPTIONS: '--max-old-space-size=7168'
NODE_VERSION: '26.5.1'
NODE_VERSION: '26.7.0'
on:
schedule:

View File

@ -12,7 +12,7 @@ env:
# The images copy native bindings from the host build, so both have to use the same
# Node. dockerize-n8n.mjs reads this env for the image builds. Keep in sync with
# NODE_VERSION in docker-build-push.yml, which is what the published images use.
NODE_VERSION: '26.5.1'
NODE_VERSION: '26.7.0'
on:
schedule:

View File

@ -1,9 +1,9 @@
ARG NODE_VERSION=26.5.1
ARG NODE_VERSION=26.7.0
ARG N8N_VERSION=snapshot
# The digest pins node:26.5.1-alpine3.24 for amd64 and arm64. Change the tag and the digest together.
ARG BUILDER_IMAGE=node:26.5.1-alpine3.24@sha256:233761595746769ebfdb6090f44fc7cdf818ae0ce62d2b37e0367723b9823e36
ARG RUNTIME_IMAGE=n8nio/base:26.5.1@sha256:1b0bca5c94bbd04ad2120b9e9892a8bc717a1d88efa76fefe452c59bdc611d25
# The digest pins node:26.7.0-alpine3.24 for amd64 and arm64. Change the tag and the digest together.
ARG BUILDER_IMAGE=node:26.7.0-alpine3.24@sha256:aadf416b2cdce311a8811ba3f0608a61b77dbf997500e2eafe781b51f6a0b019
ARG RUNTIME_IMAGE=n8nio/base:26.7.0@sha256:33687300c4e94dc00f42ec79ae15082ae07330ecd82ae1167125905b65908ff8
# The runtime base has no compiler, so this stage supplies one.
FROM ${BUILDER_IMAGE} AS toolchain

View File

@ -10,7 +10,7 @@
# dev - plain Alpine with apk usable, for the n8n builder
# stage, which must compile native addons against this
# Node's headers
ARG NODE_VERSION=26.5.1
ARG NODE_VERSION=26.7.0
# Compiling V8 needs 1.5-2 GB of memory per parallel job. Lower this on
# builders whose memory-to-core ratio cannot cover all cores.
ARG MAKE_JOBS=
@ -90,7 +90,7 @@ ENV npm_config_nodedir=/usr/local
# npx, corepack) are swapped for the pointer-compressed build's files.
# Pinned to a multi-arch index digest (linux/amd64 + linux/arm64) for reproducible builds.
# Bump the tag and digest together when updating.
FROM n8nio/base:26.5.1@sha256:1b0bca5c94bbd04ad2120b9e9892a8bc717a1d88efa76fefe452c59bdc611d25 AS runtime
FROM n8nio/base:26.7.0@sha256:33687300c4e94dc00f42ec79ae15082ae07330ecd82ae1167125905b65908ff8 AS runtime
RUN rm -f /usr/bin/node /usr/bin/nodejs /usr/bin/npm /usr/bin/npx /usr/bin/corepack /usr/local/bin/node
COPY --from=builder /node-install/usr/local /usr/local

View File

@ -1,4 +1,4 @@
ARG NODE_VERSION=26.5.1
ARG NODE_VERSION=26.7.0
ARG PNPM_VERSION=11.22.0
ARG PYTHON_VERSION=3.13

View File

@ -12,7 +12,7 @@
# - Uses distroless nonroot user (UID 65532)
# ==============================================================================
ARG NODE_VERSION=26.5.1
ARG NODE_VERSION=26.7.0
ARG PNPM_VERSION=11.22.0
ARG PYTHON_VERSION=3.13

View File

@ -144,7 +144,7 @@ const noCache = process.env.DOCKER_BUILD_NO_CACHE === 'true';
const withBaseImage = process.env.DOCKER_BUILD_BASE_IMAGE === 'true';
// Keep in sync with NODE_VERSION in .github/workflows/docker-build-push.yml,
// which is what the published images are actually built with.
const nodeVersion = process.env.NODE_VERSION || '26.5.1';
const nodeVersion = process.env.NODE_VERSION || '26.7.0';
const config = {
base: {