diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..e0f0e0a3edb2de78b09a23fe6bd9200c172509ec
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+# This file is a template, and might need editing before it works on your project.
+# use docker image with latex preinstalled
+# since there is no official latex image, use https://github.com/blang/latex-docker
+# possible alternative: https://github.com/natlownes/docker-latex
+image: blang/latex
+
+build:
+  script:
+    - latexmk -pdf administrativt/medlemslapp/villkor.latex
+  artifacts:
+    paths:
+      - "*.pdf"