Update .gitlab-ci.yml
This commit is contained in:
parent
d0e1cda98e
commit
bc4edd055d
|
@ -4,11 +4,11 @@ stages:
|
|||
job:
|
||||
stage: deploy
|
||||
script:
|
||||
- docker stop tfse_rating
|
||||
- docker rm tfse_rating
|
||||
- docker build -t tfse_rating .
|
||||
- docker run -d -p 51012:51012 --name tfse_rating -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_rating
|
||||
- docker stop tfse_model_api_v0.2
|
||||
- docker rm tfse_model_api_v0.2
|
||||
- docker build -t tfse_model_api_v0.2 .
|
||||
- docker run -d -p 51012:51012 --name tfse_model_api_v0.2 -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_model_api_v0.2
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- tfse_rating
|
||||
- tfse_model_api_v0.2
|
||||
|
|
Loading…
Reference in New Issue