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: script:
- cd static - cd static
- docker build --no-cache -t luki42/latex-full:latest . - docker build --no-cache -t luki42/latex-full:latest .
- docker login -p $DockerPWD -u luki42
upload:
stage: upload
tags:
- dind
needs: ["build"]
script:
- docker push luki42/latex-full:latest - docker push luki42/latex-full:latest
cleanup:
stage: cleanup
tags:
- dind
needs: ["upload"]
script:
- docker system prune -a -f