Commit ea6929c1 authored by Andreas Böttger's avatar Andreas Böttger 😬

Update .gitlab-ci.yml

parent 73fcea95
Pipeline #14455 passed with stage
in 57 seconds
......@@ -3,6 +3,10 @@ variables:
BUILD_IMAGE: docker.rz.tu-harburg.de:5000/docker/gitbook-itbh-glr:latest
DOCKER_CONTAINER_NAME: ${CI_PROJECT_PATH_SLUG}-${CI_ENVIRONMENT_SLUG}
before_script:
- sudo docker pull ${BUILD_IMAGE}
- sudo docker pull ${REVIEW_IMAGE}
stages:
- review
......@@ -18,7 +22,6 @@ pdf:
- development
script:
- pwd
- sudo docker pull ${BUILD_IMAGE}
- mkdir -p book_pdf; sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} pdf ./ ./book_pdf/book.pdf
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
......@@ -72,7 +75,6 @@ review:stop:
- production
script:
- pwd
- sudo docker pull ${BUILD_IMAGE}:latest
- sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} install
- sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} build
- mkdir -p book_pdf; sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} pdf ./ ./book_pdf/book.pdf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment