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