2020-04-22 21:31:48 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- upload
|
2020-04-22 21:59:01 +00:00
|
|
|
- cleanup
|
2020-04-22 21:31:48 +00:00
|
|
|
|
2020-04-19 21:42:56 +00:00
|
|
|
build:
|
|
|
|
stage: build
|
2020-04-19 19:32:06 +00:00
|
|
|
script:
|
2020-05-07 19:13:51 +00:00
|
|
|
- cd static
|
2020-04-21 19:06:25 +00:00
|
|
|
- docker build --no-cache -t luki42/latex-full:latest .
|
2020-04-19 19:32:06 +00:00
|
|
|
|
2020-04-19 21:42:56 +00:00
|
|
|
upload:
|
2020-04-22 21:31:48 +00:00
|
|
|
stage: upload
|
2020-04-22 21:40:46 +00:00
|
|
|
needs: ["build"]
|
2020-04-19 19:32:06 +00:00
|
|
|
script:
|
2020-04-20 18:00:03 +00:00
|
|
|
- docker push luki42/latex-full:latest
|
2020-04-22 21:31:48 +00:00
|
|
|
|
2020-04-22 22:04:23 +00:00
|
|
|
cleanup:
|
2020-04-22 22:02:49 +00:00
|
|
|
stage: cleanup
|
2020-04-22 22:07:35 +00:00
|
|
|
needs: ["upload"]
|
2020-04-22 22:04:23 +00:00
|
|
|
script:
|
2020-05-07 19:13:51 +00:00
|
|
|
- docker system prune -a -f
|