Move Node.js image declaration to the specific job section
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user