Files
dancefinder-app/.gitlab-ci.yml
T

28 lines
378 B
YAML

stages:
- build
- deploy
variables:
DOCKER_HOST: tcp://docker:2375/
image: registry.gitlab.com/sparetimecoders/build-tools:master
build:
stage: build
services:
- docker:dind
script:
- build
- push
deploy-to-prod:
stage: deploy
when: on_success
script:
- echo Deploy to PROD.
- deploy prod
environment:
name: prod
only:
- master