diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c1f9280 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file