dockerFullLatexEnvironment/.gitlab-ci.yml

32 lines
516 B
YAML

stages:
- build
- upload
- cleanup
build:
stage: build
script:
- cd latest
- docker build --no-cache -t luki42/latex-full:latest .
upload:
stage: upload
needs: ["build"]
script:
- docker push luki42/latex-full:latest
cleanup_all:
stage: cleanup
build_full:
stage: build
script:
- cd static
- docker build --no-cache -t luki42/latex-full:static .
when: manual
upload_full:
stage: upload
needs: ["build_full"]
script:
- docker push luki42/latex-full:static