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