Update .gitlab-ci.yml
This commit is contained in:
parent
40ad369705
commit
c519f60347
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user