File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1- FROM alpine:3.7
1+ FROM scratch
22COPY aws/ /aws
33WORKDIR /aws
Original file line number Diff line number Diff line change @@ -43,19 +43,44 @@ steps:
4343 all :
4444 executeForBranch : " '${{SEMVERSION_BRANCH}}' != ''"
4545
46- push_image_tag :
46+ push_image_tag_to_cfcr :
4747 title : Push image with tag based semver tags
4848 type : push
49+ registry : cfcr
4950 candidate : ${{build_image}}
5051 tag : " ${{SEMVERSION_TAG}}"
5152 when :
5253 condition :
5354 all :
5455 executeForTag : " '${{SEMVERSION_TAG}}' != ''"
5556
56- push_image_latest :
57+ push_image_tag_to_dockerhub :
58+ title : Push image with tag based semver tags
59+ type : push
60+ registry : dockerhub
61+ candidate : ${{build_image}}
62+ tag : " ${{SEMVERSION_TAG}}"
63+ when :
64+ condition :
65+ all :
66+ executeForTag : " '${{SEMVERSION_TAG}}' != ''"
67+
68+
69+ push_image_latest_to_cfcf :
70+ title : Push image with latest tag
71+ type : push
72+ registry : cfcr
73+ candidate : ${{build_image}}
74+ tag : latest
75+ when :
76+ condition :
77+ all :
78+ executeForMasterBranch : " '${{CF_BRANCH}}' == 'master'"
79+
80+ push_image_latest_to_dockerhub :
5781 title : Push image with latest tag
5882 type : push
83+ registry : dockerhub
5984 candidate : ${{build_image}}
6085 tag : latest
6186 when :
You can’t perform that action at this time.
0 commit comments