From 45b8bde53d76f6c767e964e926d81cf9b86188d5 Mon Sep 17 00:00:00 2001 From: Sascha Nowak Date: Fri, 29 Nov 2024 16:10:10 +0100 Subject: [PATCH] feat: Add node 22 --- .github/workflows/node.yml | 3 +++ build-container.sh | 1 + node/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index bcfbd34..2360925 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -36,6 +36,9 @@ jobs: - version: 20 build-args: | NODE_VERSION=20 + - version: 22 + build-args: | + NODE_VERSION=22 steps: - name: Checkout diff --git a/build-container.sh b/build-container.sh index d13db19..9c88d5d 100755 --- a/build-container.sh +++ b/build-container.sh @@ -87,3 +87,4 @@ docker buildx build -t ghcr.io/netlogix/docker/php-supervisor:8.4 --build-arg PH docker buildx build -t ghcr.io/netlogix/docker/node:18 --build-arg NODE_VERSION=18 -f node/Dockerfile node docker buildx build -t ghcr.io/netlogix/docker/node:20 --build-arg NODE_VERSION=20 -f node/Dockerfile node +docker buildx build -t ghcr.io/netlogix/docker/node:22 --build-arg NODE_VERSION=22 -f node/Dockerfile node diff --git a/node/Dockerfile b/node/Dockerfile index 4d11b1d..55aef21 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 -ARG NODE_VERSION=20 +ARG NODE_VERSION=22 FROM node:${NODE_VERSION}-slim AS node # Install dev certificates COPY certs/* /usr/share/ca-certificates/netlogix/ -ENV NODE_EXTRA_CA_CERTS="/usr/share/ca-certificates/netlogix/docker-dev-ca.crt" \ No newline at end of file +ENV NODE_EXTRA_CA_CERTS="/usr/share/ca-certificates/netlogix/docker-dev-ca.crt"