ci: production preparation
This commit is contained in:
parent
72599a0270
commit
52208fde84
@ -20,5 +20,15 @@ deploy-to-staging:
|
||||
tags:
|
||||
- front
|
||||
- staging
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $STAGING_BRANCH"
|
||||
extends: .deploy_template
|
||||
|
||||
|
||||
deploy-to-prod:
|
||||
tags:
|
||||
- front
|
||||
- prod
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
|
||||
extends: .deploy_template
|
||||
|
8
deployments/main/docker-compose.yaml
Normal file
8
deployments/main/docker-compose.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
services:
|
||||
hub:
|
||||
container_name: hub
|
||||
restart: unless-stopped
|
||||
image: $CI_REGISTRY_IMAGE/main:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||
hostname: hub
|
||||
tty: true
|
||||
|
Loading…
Reference in New Issue
Block a user