add onsuccess keyword to upload latest
This commit is contained in:
parent
6df7755c23
commit
6c430734d2
@ -12,6 +12,7 @@ build:
|
|||||||
build-latest:
|
build-latest:
|
||||||
stage: build
|
stage: build
|
||||||
when: manual
|
when: manual
|
||||||
|
allow_failure: false
|
||||||
script:
|
script:
|
||||||
- cd latest
|
- cd latest
|
||||||
- docker build --no-cache -t luki42/latex-full:latest-dev .
|
- docker build --no-cache -t luki42/latex-full:latest-dev .
|
||||||
@ -25,6 +26,7 @@ upload:
|
|||||||
upload-latest:
|
upload-latest:
|
||||||
stage: upload
|
stage: upload
|
||||||
needs: ["build-latest"]
|
needs: ["build-latest"]
|
||||||
|
when: on_success
|
||||||
script:
|
script:
|
||||||
- docker push luki42/latex-full:latest-dev
|
- docker push luki42/latex-full:latest-dev
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user