Skip to content
Snippets Groups Projects
Verified Commit e0aa2cf3 authored by David Beniamine's avatar David Beniamine
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #236 passed
*.sw?
build_image:
image: docker:git
services:
- docker:dind
script:
- docker build -t dbeniamine/gitlab-ci-pandoc .
- docker login -u dbeniamine -p $DOCKER_HUB_TOKEN
- docker push dbeniamine/gitlab-ci-pandoc
only:
- master
FROM debian:testing
RUN apt-get update -y
RUN apt-get install -y pandoc texlive-full make
A docker image to build pandoc with make in gitlab-ci
Example gitlab-ci file that builds slides and index page from a Makefile
```yaml
image: dbeniamine/gitlab-ci-pandoc
pages:
script:
- mkdir public
- cd slides
- ./build.sh
- cp *.html *.pdf ../public
artifacts:
paths:
- public
only:
- master
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment