From 5037ec1035f1ba0c1cf8ec8e468baa5f192d0610 Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Mon, 22 Jul 2024 11:20:41 -0600
Subject: [PATCH] lock into node version

---
 .gitlab-ci.yml     | 8 ++++----
 .gitlab/Dockerfile | 2 +-
 Dockerfile         | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb25fa498..2b4c52c35 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ variables:
   NODE_IMAGE: ${CODE_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_SLUG}--node
   UPSTREAM_PATH: ghsc/nshmp/nshmp-apps
 
-image: ${CI_REGISTRY}/devops/images/usgs/node:lts
+image: ${CI_REGISTRY}/devops/images/usgs/node:20
 
 # Do not run for merge requests
 workflow:
@@ -155,7 +155,7 @@ Build Node Image:
   script:
     - |
       docker build \
-        --build-arg FROM_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:lts \
+        --build-arg FROM_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:20 \
         --file ".gitlab/Dockerfile" \
         --pull \
         --tag ${NODE_IMAGE} \
@@ -202,7 +202,7 @@ Build Image:
     - build
   variables:
     DOCKER_BUILD_ARGS: |
-      BUILD_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:lts
+      BUILD_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:20
       FROM_IMAGE=${CI_REGISTRY}/devops/images/usgs/nginx:latest
       USE_DIST=true
 
@@ -317,7 +317,7 @@ pages:
   artifacts:
     paths:
       - public
-  image: ${DEVOPS_REGISTRY}usgs/node:16
+  image: ${DEVOPS_REGISTRY}usgs/node:20
   rules:
     - if: >
         $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
diff --git a/.gitlab/Dockerfile b/.gitlab/Dockerfile
index 61e1f9dd1..c5a2d0ec8 100644
--- a/.gitlab/Dockerfile
+++ b/.gitlab/Dockerfile
@@ -1,4 +1,4 @@
-ARG FROM_IMAGE=code.usgs.gov:5001/devops/images/usgs/node:lts
+ARG FROM_IMAGE=code.usgs.gov:5001/devops/images/usgs/node:20
 
 FROM ${FROM_IMAGE}
 
diff --git a/Dockerfile b/Dockerfile
index c803634b0..f7a1d8707 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@
 #   docker run -p <PORT>:8080 -d <IMAGE_NAME>:<IMAGE_TAG>
 ####
 
-ARG BUILD_IMAGE=code.usgs.gov:5001/devops/images/usgs/node:lts
+ARG BUILD_IMAGE=code.usgs.gov:5001/devops/images/usgs/node:20
 ARG FROM_IMAGE=code.usgs.gov:5001/devops/images/usgs/nginx:latest
 
 ##
-- 
GitLab