Use node instead of alpine/giit image. #7
@@ -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:
|
||||
|
||||
7
backend/.gitlab-ci-backend.yml
Normal file
7
backend/.gitlab-ci-backend.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
stages:
|
||||
- backend_build
|
||||
|
||||
backend_build_job:
|
||||
stage: backend_build
|
||||
script:
|
||||
- echo "Building backend project on branch: $CI_COMMIT_BRANCH"
|
||||
7
frontend/.gitlab-ci-frontend.yml
Normal file
7
frontend/.gitlab-ci-frontend.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
stages:
|
||||
- frontend_build
|
||||
|
||||
frontend_build_job:
|
||||
stage: frontend_build
|
||||
script:
|
||||
- echo "Building frontend project on branch: $CI_COMMIT_BRANCH"
|
||||
@@ -3,5 +3,6 @@ stages:
|
||||
|
||||
frontend_build_job:
|
||||
stage: frontend_build
|
||||
image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95
|
||||
script:
|
||||
- echo "Building frontend project"
|
||||
|
||||
Reference in New Issue
Block a user