From 8bfafa0c342d2e147ff25aef8a89e369ea8f990c Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Mon, 28 Apr 2025 08:28:17 +0200 Subject: [PATCH] Move Node.js image declaration to the specific job section --- frontend/.gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/.gitlab-ci.yml b/frontend/.gitlab-ci.yml index 7844622..006546f 100644 --- a/frontend/.gitlab-ci.yml +++ b/frontend/.gitlab-ci.yml @@ -1,5 +1,3 @@ -image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95 - stages: - frontend_build - dockerize @@ -33,6 +31,7 @@ variables: frontend_build_job: stage: frontend_build + image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95 script: - npm install - npx next build