Update .gitlab-ci.yml

This commit is contained in:
FECR-IBD 2022-03-09 03:28:31 +00:00
parent 85f386d85b
commit df3378182e
1 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@ stages:
job:
stage: deploy
script:
- 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
- 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: