From 81918eafdac27df4119037850265e9983a452af4 Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Wed, 22 Apr 2020 21:31:48 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aab600e..8d2fd08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +stages: + - build + - upload + build: stage: build script: @@ -5,6 +9,13 @@ build: - docker build --no-cache -t luki42/latex-full:latest . upload: - stage: deploy + stage: upload script: - docker push luki42/latex-full:latest + +build_full: + stage: build + script: + - cd static + - docker build --no-cache -t luki42/latex-full:static . + when: manual