From 6df7755c23c7fb7135eed43fd1bb4fefd8b3917b Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Tue, 4 Aug 2020 10:54:04 +0000 Subject: [PATCH] manual trigger for latest job --- .gitlab-ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd7b087..97b3c46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,14 +9,27 @@ build: - cd static - docker build --no-cache -t luki42/latex-full:latest . +build-latest: + stage: build + when: manual + script: + - cd latest + - docker build --no-cache -t luki42/latex-full:latest-dev . + upload: stage: upload needs: ["build"] script: - docker push luki42/latex-full:latest + +upload-latest: + stage: upload + needs: ["build-latest"] + script: + - docker push luki42/latex-full:latest-dev cleanup: stage: cleanup needs: ["upload"] script: - - docker system prune -a -f \ No newline at end of file + - docker system prune -a -f