From b6e7ccbf5fd5814d11e3ea2bcc8eb8d4da4826ce Mon Sep 17 00:00:00 2001 From: Maple Date: Fri, 8 Dec 2023 12:56:50 +0700 Subject: [PATCH] Bump nodejs LTS and current/latest version Add `20.10.0` as the new LTS, and `21.4.0` as the new current/latest. Dropping LTS tag for `18.12.0`, and current/latest tag for `19.0.0`. --- npm/cloudbuild.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/npm/cloudbuild.yaml b/npm/cloudbuild.yaml index 618c39ff4..9fa27d318 100644 --- a/npm/cloudbuild.yaml +++ b/npm/cloudbuild.yaml @@ -55,8 +55,6 @@ steps: args: - 'build' - '--build-arg=NODE_VERSION=18.12.0' - - '--tag=gcr.io/$PROJECT_ID/npm:lts' - - '--tag=gcr.io/$PROJECT_ID/nodejs/npm' - '--tag=gcr.io/$PROJECT_ID/npm:node-18.12.0' - '.' - name: 'gcr.io/cloud-builders/docker' @@ -64,6 +62,20 @@ steps: - 'build' - '--build-arg=NODE_VERSION=19.0.0' - '--tag=gcr.io/$PROJECT_ID/npm:node-19.0.0' + - '.' +- name: 'gcr.io/cloud-builders/docker' + args: + - 'build' + - '--build-arg=NODE_VERSION=20.10.0' + - '--tag=gcr.io/$PROJECT_ID/npm:lts' + - '--tag=gcr.io/$PROJECT_ID/nodejs/npm' + - '--tag=gcr.io/$PROJECT_ID/npm:node-20.10.0' + - '.' +- name: 'gcr.io/cloud-builders/docker' + args: + - 'build' + - '--build-arg=NODE_VERSION=21.4.0' + - '--tag=gcr.io/$PROJECT_ID/npm:node-21.4.0' - '--tag=gcr.io/$PROJECT_ID/npm:latest' - '--tag=gcr.io/$PROJECT_ID/npm:current' - '.' @@ -89,7 +101,10 @@ steps: args: ['--version'] - name: 'gcr.io/$PROJECT_ID/npm:node-19.0.0' args: ['--version'] - +- name: 'gcr.io/$PROJECT_ID/npm:node-20.10.0' + args: ['--version'] +- name: 'gcr.io/$PROJECT_ID/npm:node-21.4.0' + args: ['--version'] # Test the examples with :latest - name: 'gcr.io/$PROJECT_ID/npm:latest' @@ -125,3 +140,5 @@ images: - 'gcr.io/$PROJECT_ID/npm:node-16.18.0' - 'gcr.io/$PROJECT_ID/npm:node-18.12.0' - 'gcr.io/$PROJECT_ID/npm:node-19.0.0' +- 'gcr.io/$PROJECT_ID/npm:node-20.10.0' +- 'gcr.io/$PROJECT_ID/npm:node-21.4.0'