Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,9 +1,18 @@
|
|||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
|
image: docker:latest
|
||||||
|
services:
|
||||||
|
- name: docker:dind
|
||||||
|
alias: docker
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: overlay2
|
||||||
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
environment: production
|
environment: production
|
||||||
script:
|
script:
|
||||||
- docker compose up -d
|
- docker compose up -d
|
||||||
|
|||||||
Reference in New Issue
Block a user