Use node instead of alpine/giit image. #7

Merged
boom merged 38 commits from dev into production 2025-04-27 22:48:37 +02:00
4 changed files with 16 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ stages:
sync_branches: sync_branches:
stage: sync stage: sync
image: alpine/git:v2.47.2@sha256:47a8a580ba3cbc85737c5dccc50078cce5662b84a6c5eaaf5800a841ff5a19c8 image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95
rules: rules:
- if: '$CI_COMMIT_BRANCH == "production"' - if: '$CI_COMMIT_BRANCH == "production"'
before_script: before_script:

View File

@@ -0,0 +1,7 @@
stages:
- backend_build
backend_build_job:
stage: backend_build
script:
- echo "Building backend project on branch: $CI_COMMIT_BRANCH"

View File

@@ -0,0 +1,7 @@
stages:
- frontend_build
frontend_build_job:
stage: frontend_build
script:
- echo "Building frontend project on branch: $CI_COMMIT_BRANCH"

View File

@@ -3,5 +3,6 @@ stages:
frontend_build_job: frontend_build_job:
stage: frontend_build stage: frontend_build
image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95
script: script:
- echo "Building frontend project" - echo "Building frontend project"