From 81ec50f0340dd892f44d278ad8c9c19267614364 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Sun, 27 Apr 2025 22:31:16 +0200 Subject: [PATCH] Update CI configurations to use Node 22 Docker image - Replaced alpine/git v2.47.2 image with node:22 image for the sync_branches job. - Added node:22 image to the frontend_build_job for consistency in builds. - This ensures compatibility with Node.js-based tasks and streamlines CI setup. --- .gitlab-ci.yml | 2 +- frontend/.gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c59767..998ff4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ stages: sync_branches: stage: sync - image: alpine/git:v2.47.2@sha256:47a8a580ba3cbc85737c5dccc50078cce5662b84a6c5eaaf5800a841ff5a19c8 + image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95 rules: - if: '$CI_COMMIT_BRANCH == "production"' before_script: diff --git a/frontend/.gitlab-ci.yml b/frontend/.gitlab-ci.yml index e9b0d33..58f3b46 100644 --- a/frontend/.gitlab-ci.yml +++ b/frontend/.gitlab-ci.yml @@ -3,5 +3,6 @@ stages: frontend_build_job: stage: frontend_build + image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95 script: - echo "Building frontend project"