Merge branch 'master' of http://gitlab.fecribd.com/root/tfse_app_api
This commit is contained in:
commit
0add3df53c
|
@ -4,11 +4,11 @@ stages:
|
|||
job:
|
||||
stage: deploy
|
||||
script:
|
||||
- docker stop tfse_app_api
|
||||
- docker rm tfse_app_api
|
||||
- docker build -t tfse_app_api .
|
||||
- docker run -d -p 51010:51010 --name tfse_app_api -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_app_api
|
||||
- docker stop tfse_app_api_v0.2
|
||||
- docker rm tfse_app_api_v0.2
|
||||
- docker build -t tfse_app_api_v0.2 .
|
||||
- docker run -d -p 51010:51010 --name tfse_app_api_v0.2 -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_app_api_v0.2
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- tfse_app_api
|
||||
- tfse_app_api_v0.2
|
||||
|
|
Loading…
Reference in New Issue