From 3da2aa775ff8e208d0d045a80a8060e95864a058 Mon Sep 17 00:00:00 2001 From: FECR-IBD Date: Wed, 9 Mar 2022 06:10:26 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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