2021-11-16 09:59:27 +08:00
|
|
|
stages:
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
job:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
2022-01-06 12:22:37 +08:00
|
|
|
# - docker stop tfse_admin
|
|
|
|
# - docker rm tfse_admin
|
2021-11-16 10:06:58 +08:00
|
|
|
- docker build -t tfse_admin .
|
2021-11-27 03:43:41 +08:00
|
|
|
- docker run -d --restart=always -p 51004:51004 --name tfse_admin tfse_admin
|
2021-11-16 09:59:27 +08:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
tags:
|
2021-11-16 10:06:58 +08:00
|
|
|
- tfse_admin
|
2021-11-16 09:59:27 +08:00
|
|
|
|