Update .gitlab-ci.yml

This commit is contained in:
Lukas Heiligenbrunner 2020-05-07 19:13:51 +00:00
parent 2bd76839a7
commit 2d62f0e54c

View File

@ -6,7 +6,7 @@ stages:
build: build:
stage: build stage: build
script: script:
- cd latest - cd static
- docker build --no-cache -t luki42/latex-full:latest . - docker build --no-cache -t luki42/latex-full:latest .
upload: upload:
@ -19,19 +19,4 @@ cleanup:
stage: cleanup stage: cleanup
needs: ["upload"] needs: ["upload"]
script: script:
- docker system prune -f - docker system prune -a -f
build_full:
stage: build
script:
- cd static
- docker build --no-cache -t luki42/latex-full:static .
when: manual
allow_failure: true
upload_full:
stage: upload
script:
- docker push luki42/latex-full:static
when: manual
allow_failure: true