We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc1732 commit 82a8522Copy full SHA for 82a8522
codefresh.yml
@@ -0,0 +1,27 @@
1
+version: '1.0'
2
+stages:
3
+ - prepare
4
+ - build
5
+ - test
6
+steps:
7
+ main_clone:
8
+ title: Cloning main repository...
9
+ type: git-clone
10
+ repo: '${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
11
+ revision: '${{CF_REVISION}}'
12
+ stage: prepare
13
+ git: github
14
+ MyAppDockerImage:
15
+ title: Building Docker Image
16
+ type: build
17
+ stage: build
18
+ image_name: my-app-image
19
+ working_directory: ./
20
+ tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
21
+ dockerfile: Dockerfile
22
+ MyUnitTests:
23
+ title: Running Unit tests
24
+ stage: test
25
+ image: '${{MyAppDockerImage}}'
26
+ commands:
27
+ - npm run test
0 commit comments