Refactor GitLab CI/CD pipelines

This commit is contained in:
2025-05-02 10:41:38 +02:00
parent a557a7efd0
commit 2253e9a3a8
4 changed files with 47 additions and 46 deletions

View File

@@ -1,6 +1,7 @@
image: docker:20.10@sha256:2967f0819c84dd589ed0a023b9d25dcfe7a3c123d5bf784ffbb77edf55335f0c
include:
- local: 'ci-templates.yml'
- local: 'backend/.gitlab-ci.yml'
- local: 'frontend/.gitlab-ci.yml'
@@ -11,6 +12,11 @@ stages:
- deploy
- sync
variables:
CI_REGISTRY_IMAGE: registry.gitlab.com/$CI_PROJECT_PATH
RAW_TAG: $CI_COMMIT_REF_NAME
TAG: "${RAW_TAG//\//_}" # replace "/" with "_"
sync_branches:
stage: sync
image: node:22@sha256:f6b9c31ace05502dd98ef777aaa20464362435dcc5e312b0e213121dcf7d8b95