diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6f1ce6..a8cd59d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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