File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ main() {
2929 add_more_tags
3030 fi
3131
32+ # collect and push multi-arch images
33+ if [ " $NEED_COLLECT_MULT_ARCH " = " true" ]; then
34+ collect_and_push_multi_arch_images
35+ fi
36+
3237 echo " ✅ All done"
3338}
3439
@@ -227,16 +232,16 @@ build_and_push_images() {
227232{{- if ne .profile " release" }}
228233{{- $tag_suffix = printf " -%s" .profile }}
229234{{- end }}
230- {{- $platform_tag_suffix := printf " %s_%s_%s" $tag_suffix .os .arch }}
231235
232236{{- $base_tags := coll.Slice }}
233237{{- range $index , $tag := .artifactory.tags }}
234238{{- $base_tags = append (printf " %s%s" $tag $tag_suffix ) $base_tags }}
235239{{- end }}
236240
241+ {{- $platform_tag_suffix := printf " %s_%s" .os .arch }}
237242{{- $tags := coll.Slice }}
238243{{- range $index , $tag := $base_tags }}
239- {{- $tags = append (printf " %s %s" $tag $platform_tag_suffix ) $tags }}
244+ {{- $tags = append (printf " %s_ %s" $tag $platform_tag_suffix ) $tags }}
240245{{- end }}
241246
242247# Write results to file.
You can’t perform that action at this time.
0 commit comments