From ee27262e5c40bee6a7df4255010879263452aab9 Mon Sep 17 00:00:00 2001 From: Jeeva Kandasamy Date: Mon, 29 Jul 2024 11:01:17 +0530 Subject: [PATCH] bump node version and nginx image Signed-off-by: Jeeva Kandasamy --- .github/workflows/publish_container_image.yaml | 4 ++-- Dockerfile | 2 +- Dockerfile.without_builder | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_container_image.yaml b/.github/workflows/publish_container_image.yaml index 6e245066..7613cc46 100644 --- a/.github/workflows/publish_container_image.yaml +++ b/.github/workflows/publish_container_image.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '18' - uses: docker/setup-buildx-action@v3 @@ -29,7 +29,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: diff --git a/Dockerfile b/Dockerfile index e28474e7..36e4b00a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/app RUN yarn install --frozen-lockfile && \ yarn build -FROM registry.access.redhat.com/ubi8/nginx-120:latest +FROM registry.access.redhat.com/ubi8/nginx-124:latest COPY --from=builder-ui /usr/src/app/dist /usr/share/nginx/html diff --git a/Dockerfile.without_builder b/Dockerfile.without_builder index 02d2e717..8d4a78f1 100644 --- a/Dockerfile.without_builder +++ b/Dockerfile.without_builder @@ -7,7 +7,7 @@ # however in this project, the code will be executed on a browser, # hence assuming no impact on this approach -FROM registry.access.redhat.com/ubi8/nginx-120:latest +FROM registry.access.redhat.com/ubi8/nginx-124:latest COPY ./dist /usr/share/nginx/html