combine to one job

This commit is contained in:
Lukas Heiligenbrunner 2020-11-11 16:06:28 +00:00
parent c519f60347
commit 14226dff76

View File

@ -23,19 +23,5 @@ build:
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
- docker login -p $DockerPWD -u luki42
- docker push luki42/latex-full:latest