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 155028d commit 1a414ecCopy full SHA for 1a414ec
codefresh.yml
@@ -1,5 +1,12 @@
1
version: '1.0'
2
3
+indicators:
4
+ - common_release_conditions: &common_release_conditions
5
+ when:
6
+ branch:
7
+ only:
8
+ - master
9
+
10
stages:
11
- prepare
12
- build
@@ -22,11 +29,13 @@ steps:
22
29
commands:
23
30
- yarn validate
24
31
releaser:
32
+ <<: *common_release_conditions
25
33
stage: release
26
34
type: build
27
35
image_name: '${{CF_REPO_NAME}}-releaser'
28
36
dockerfile: Dockerfile
37
release:
38
39
40
image: ${{releaser}}
41
0 commit comments