cmc-sales/.gitlab-ci.yml
2019-04-25 13:28:33 +10:00

20 lines
277 B
YAML

stages:
- build
- deploy
build:
stage: build
script:
- docker build . -t "cmc:latest"
deploy_staging:
stage: deploy
script:
- echo "Run the new docker image"
- /home/cmc/cmc-sales/run_docker.sh
environment:
name: staging
only:
- master