Skip to content
Snippets Groups Projects
Verified Commit 1bca9c16 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added docker-compose and test in CI

parent e46ddd65
Branches
No related tags found
No related merge requests found
......@@ -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
......
version: "3.3"
services:
pandoc:
#To use dockerfile : build: .
image: omalaspinas/pandoc:latest
user: 1000:1000
container_name: pandoc
volumes:
- .:/app
working_dir: /app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment