Initial commit

This commit is contained in:
2019-06-20 13:07:42 +02:00
commit 98cfbd61d4
8 changed files with 271 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
stages:
- build
- deploy-prod
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-prod
when: on_success
script:
- echo Deploy to prod.
- deploy prod
environment:
name: prod
only:
- master