stages: - build - deploy build: stage: build script: - docker build . -t "cmc:latest" deploy_staging: stage: deploy script: - echo "Deploy to staging server" environment: name: staging only: - master