diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4adcd5a9f665853e0965d9e6ea1d9d36e7764249..a776a52024400ca80a24e07eb3d2f8ceff0766db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,12 +29,17 @@ before_script: - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - - build_only: script: - make +build_only: + image: docker:latest + tags: + - dfromd + script: + - docker-compose run --rm pandoc make + build_and_deploy: script: - make @@ -53,6 +58,7 @@ build_and_test_practical_work: script: - cd practical_work/vec2/ - make test + build_artifacts: script: - make diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..986f2961e94e1a175dd061f39b6af8d04409fd11 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3.3" +services: + pandoc: + #To use dockerfile : build: . + image: omalaspinas/pandoc:latest + user: 1000:1000 + container_name: pandoc + volumes: + - .:/app + working_dir: /app + +