Update .gitlab-ci.yml

This commit is contained in:
FECR-IBD 2022-03-09 03:18:00 +00:00
parent 5cf59bf10d
commit 5ffeaffe26
1 changed files with 5 additions and 5 deletions

View File

@ -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