28
28
stage : Build
29
29
type : build
30
30
description : Build packages
31
- image_name : packages
31
+ registry : dockerhub
32
+ image_name : cloudposse/packages
33
+ tag : ' ${{CF_REVISION}}'
32
34
dockerfile : Dockerfile
33
35
34
36
semver :
44
46
title : Push image with commit based semver tags
45
47
stage : Publish
46
48
type : push
49
+ registry : dockerhub
47
50
candidate : ${{build_image}}
48
51
tags :
49
52
- " ${{SEMVERSION_COMMIT_SHORT}}"
52
55
title : Push image with branch based semver tags
53
56
stage : Publish
54
57
type : push
58
+ registry : dockerhub
55
59
candidate : ${{build_image}}
56
60
tags :
57
61
- " ${{SEMVERSION_BRANCH_COMMIT_SHORT}}"
@@ -60,17 +64,17 @@ steps:
60
64
all :
61
65
executeForBranch : " '${{SEMVERSION_BRANCH}}' != ''"
62
66
63
- push_image_tag_to_cfcr :
64
- title : Push image with tag based semver tags
65
- stage : Publish
66
- type : push
67
- registry : cfcr
68
- candidate : ${{build_image}}
69
- tag : " ${{SEMVERSION_TAG}}"
70
- when :
71
- condition :
72
- all :
73
- executeForTag : " '${{SEMVERSION_TAG}}' != ''"
67
+ # push_image_tag_to_cfcr:
68
+ # title: Push image with tag based semver tags
69
+ # stage: Publish
70
+ # type: push
71
+ # registry: cfcr
72
+ # candidate: ${{build_image}}
73
+ # tag: "${{SEMVERSION_TAG}}"
74
+ # when:
75
+ # condition:
76
+ # all:
77
+ # executeForTag: "'${{SEMVERSION_TAG}}' != ''"
74
78
75
79
push_image_tag_to_dockerhub :
76
80
title : Push image with tag based semver tags
@@ -85,17 +89,17 @@ steps:
85
89
all :
86
90
executeForTag : " '${{SEMVERSION_TAG}}' != ''"
87
91
88
- push_image_latest_to_cfcf :
89
- title : Push image with latest tag
90
- stage : Publish
91
- type : push
92
- registry : cfcr
93
- candidate : ${{build_image}}
94
- tag : latest
95
- when :
96
- condition :
97
- all :
98
- executeForMasterBranch : " '${{CF_BRANCH}}' == 'master'"
92
+ # push_image_latest_to_cfcf:
93
+ # title: Push image with latest tag
94
+ # stage: Publish
95
+ # type: push
96
+ # registry: cfcr
97
+ # candidate: ${{build_image}}
98
+ # tag: latest
99
+ # when:
100
+ # condition:
101
+ # all:
102
+ # executeForMasterBranch: "'${{CF_BRANCH}}' == 'master'"
99
103
100
104
push_image_latest_to_dockerhub :
101
105
title : Push image with latest tag
0 commit comments