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