-
Notifications
You must be signed in to change notification settings - Fork 0
/
codefresh.yaml
37 lines (37 loc) · 952 Bytes
/
codefresh.yaml
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
37
version: '1.0'
stages:
- prepare
- package
- launch
steps:
main_clone:
title: 'Cloning main repository...'
type: git-clone
repo: meenan21/sampleapp-python
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: my-app-image
#Dockerfile location should be relative to the working directory
working_directory: ./
dockerfile: Dockerfile
tag: master
stage: package
launch_composition:
title: Launch Composition
type: launch-composition
composition:
version: '2'
services:
app:
image: sampleapp-python:main
ports:
- 3000
environment_name: 'dev'
entry_point: app
fail_fast: false
stage: launch