stages: - deploy 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 only: - master tags: - TFSE_ETL_API_v0.2