forked from codefreshdemo/cf-example-launch-composition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codefresh.yml
36 lines (36 loc) · 986 Bytes
/
codefresh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '1.0'
stages:
- prepare
- package
- launch
steps:
main_clone:
title: 'Cloning main repository...'
type: git-clone
repo: codefreshdemo/cf-example-launch-composition
revision: 'master'
git: github
stage: prepare
build_image:
title: Building Image
type: build
#Important: rename this image to to a valid repository in your registry. For example: myUserName/vote
image_name: example-launch-compose
#Dockerfile location should be relative to the working directory
dockerfile: Dockerfile
tag: master
stage: package
launch_composition:
title: Launch Composition
type: launch-composition
composition:
version: '2'
services:
app:
image: example-launch-compose:master
ports:
- 3000
environment_name: 'cf-example-launch-composition'
entry_point: app
fail_fast: false
stage: launch