mirror of https://gitlab.com/openlp/runners.git
Merge branch 'documentation-image' into 'master'
Create a docker file for building the documentation See merge request openlp/runners!4
This commit is contained in:
commit
140e2ab1a4
|
@ -39,3 +39,13 @@ build-fedora:
|
||||||
- docker push openlp/fedora:latest
|
- docker push openlp/fedora:latest
|
||||||
only:
|
only:
|
||||||
- master@openlp/runners
|
- master@openlp/runners
|
||||||
|
|
||||||
|
build-documentation:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- docker pull openlp/documentation || true
|
||||||
|
- docker build --cache-from openlp/documentation --tag openlp/documentation:$CI_COMMIT_SHA --tag openlp/documentation:latest -f Dockerfile.documentation .
|
||||||
|
- docker push openlp/documentation:$CI_COMMIT_SHA
|
||||||
|
- docker push openlp/documentation:latest
|
||||||
|
only:
|
||||||
|
- master@openlp/runners
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk --no-cache add py3-sphinx py3-sphinx_rtd_theme texlive-full
|
Loading…
Reference in New Issue