Merge branch 'main' of https://gitlab.lesko.me/marek/media
This commit is contained in:
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- deploy
|
||||
|
||||
|
||||
deploy-job: # This job runs in the deploy stage.
|
||||
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
|
||||
script:
|
||||
- docker compose up -d
|
||||
tags:
|
||||
- media
|
||||
Reference in New Issue
Block a user