* Configured GitLab CI for Docker image builds and added a Dockerfile with the necessary setup for the main website and demo-1. * Updated URL and removed duplicate entry in `demos.ts` to resolve conflicts. * Integrated `.run` configuration for lawfirm-demo1 to streamline local development.
28 lines
527 B
YAML
28 lines
527 B
YAML
image: docker:20.10
|
|
|
|
include:
|
|
- local: '.gitlab-ci-template.yml'
|
|
|
|
stages:
|
|
- dockerize
|
|
|
|
variables:
|
|
CI_REGISTRY_IMAGE: $CI_REGISTRY/$CI_PROJECT_PATH
|
|
PROJECT_NAME: $CI_PROJECT_NAME
|
|
TAG: $CI_COMMIT_REF_SLUG
|
|
|
|
# Main Website
|
|
build_main_website:
|
|
stage: dockerize
|
|
extends: .docker-build-template
|
|
variables:
|
|
IMAGE_NAME: main-website
|
|
WORKDIR_PATH: ./main-website
|
|
|
|
# Demo 1
|
|
build_demo_1:
|
|
stage: dockerize
|
|
extends: .docker-build-template
|
|
variables:
|
|
IMAGE_NAME: ld1
|
|
WORKDIR_PATH: ./lawfirm-demos/demo-1 |