push based on push-extra-tags list of tags
This commit is contained in:
@@ -23,6 +23,7 @@ func ReportSingleApp(appName string, format string, infoFlag string) error {
|
||||
"--registry-global-image-repo-template": reportGlobalImageRepoTemplate,
|
||||
"--registry-server": reportServer,
|
||||
"--registry-tag-version": reportTagVersion,
|
||||
"--registry-push-extra-tags": reportPushExtraTags,
|
||||
}
|
||||
|
||||
flagKeys := []string{}
|
||||
@@ -96,3 +97,7 @@ func reportTagVersion(appName string) string {
|
||||
tagVersion := common.PropertyGet("registry", appName, "tag-version")
|
||||
return strings.TrimSpace(tagVersion)
|
||||
}
|
||||
|
||||
func reportPushExtraTags(appName string) string {
|
||||
return common.PropertyGet("registry", appName, "push-extra-tags")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user