From aeb59f435b8e2da050fd39e161673c2f58206f15 Mon Sep 17 00:00:00 2001 From: Jerry Wang Date: Wed, 31 Jul 2024 12:36:53 -0700 Subject: [PATCH] upgrade to node 18 --- .github/workflows/bcat-build-and-deploy-dev-test.yml | 6 +++--- .github/workflows/bcat-build-and-deploy.yml | 4 ++-- api/Dockerfile | 2 +- client/Dockerfile | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bcat-build-and-deploy-dev-test.yml b/.github/workflows/bcat-build-and-deploy-dev-test.yml index e21d7e9..b671533 100644 --- a/.github/workflows/bcat-build-and-deploy-dev-test.yml +++ b/.github/workflows/bcat-build-and-deploy-dev-test.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Build BCAT app run: | oc version @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Deploy to dev run: | oc version @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Deploy to test run: | oc version diff --git a/.github/workflows/bcat-build-and-deploy.yml b/.github/workflows/bcat-build-and-deploy.yml index 486a697..cc53d9d 100644 --- a/.github/workflows/bcat-build-and-deploy.yml +++ b/.github/workflows/bcat-build-and-deploy.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Build BCAT app run: | oc version @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Deploy to prod run: | oc version diff --git a/api/Dockerfile b/api/Dockerfile index 5a97e23..1e1b507 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,5 +1,5 @@ # Server -FROM registry.access.redhat.com/ubi9/nodejs-16:1 +FROM registry.access.redhat.com/ubi9/nodejs-18 # Static env vars ARG VERSION ENV VERSION $VERSION diff --git a/client/Dockerfile b/client/Dockerfile index c889834..32af95f 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/nodejs-16:1 AS builder +FROM registry.access.redhat.com/ubi9/nodejs-18 AS builder # Static env vars ARG VERSION ENV VERSION $VERSION @@ -16,7 +16,7 @@ COPY . . RUN npm run build -FROM registry.access.redhat.com/ubi9/nodejs-16:1 AS runner +FROM registry.access.redhat.com/ubi9/nodejs-18 AS runner # Static env vars ARG VERSION ENV VERSION $VERSION