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