combine to one job
This commit is contained in:
parent
c519f60347
commit
14226dff76
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user