manual trigger for latest job
This commit is contained in:
parent
2d62f0e54c
commit
6df7755c23
@ -9,14 +9,27 @@ build:
|
|||||||
- cd static
|
- cd static
|
||||||
- docker build --no-cache -t luki42/latex-full:latest .
|
- docker build --no-cache -t luki42/latex-full:latest .
|
||||||
|
|
||||||
|
build-latest:
|
||||||
|
stage: build
|
||||||
|
when: manual
|
||||||
|
script:
|
||||||
|
- cd latest
|
||||||
|
- docker build --no-cache -t luki42/latex-full:latest-dev .
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
needs: ["build"]
|
needs: ["build"]
|
||||||
script:
|
script:
|
||||||
- docker push luki42/latex-full:latest
|
- docker push luki42/latex-full:latest
|
||||||
|
|
||||||
|
upload-latest:
|
||||||
|
stage: upload
|
||||||
|
needs: ["build-latest"]
|
||||||
|
script:
|
||||||
|
- docker push luki42/latex-full:latest-dev
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
needs: ["upload"]
|
needs: ["upload"]
|
||||||
script:
|
script:
|
||||||
- docker system prune -a -f
|
- docker system prune -a -f
|
||||||
|
Loading…
Reference in New Issue
Block a user