Add build pipeline and deployment files

This commit is contained in:
2019-02-11 12:52:32 +01:00
parent eebefb0ef4
commit 819feb6401
4 changed files with 87 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
stages:
- build
- deploy
variables:
DOCKER_HOST: tcp://docker:2375/
image: registry.gitlab.com/sparetimecoders/build-tools
build:
stage: build
services:
- docker:dind
script:
- build
- push
deploy:
stage: deploy
when: on_success
script:
- echo Deploying
- deploy prod
environment:
name: prod
only:
- master