From c519f60347590e302e9a5871612f0cd7a828b10e Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Mon, 9 Nov 2020 10:44:26 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9641f12..3aa1907 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,7 @@ stages: image: docker:latest -tags: - - dind + services: - name: docker:dind entrypoint: ["env", "-u", "DOCKER_HOST"] @@ -19,18 +18,24 @@ variables: build: stage: build + tags: + - dind script: - cd static - docker build --no-cache -t luki42/latex-full:latest . upload: stage: upload + tags: + - dind needs: ["build"] script: - docker push luki42/latex-full:latest cleanup: stage: cleanup + tags: + - dind needs: ["upload"] script: - docker system prune -a -f