File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,12 @@ var syncCmd = &cobra.Command{
70
70
71
71
source , _ := cmd .Flags ().GetString ("source" )
72
72
targets , _ := cmd .Flags ().GetStringSlice ("targets" )
73
+ mutableTags , _ := cmd .Flags ().GetStringSlice ("mutableTags" )
73
74
74
75
cnf .Sync .Images = append (cnf .Sync .Images , syncImage {
75
- Source : source ,
76
- Targets : targets ,
76
+ Source : source ,
77
+ Targets : targets ,
78
+ MutableTags : mutableTags ,
77
79
})
78
80
79
81
var registries []syncRegistry
@@ -181,7 +183,7 @@ func init() {
181
183
syncCmd .MarkFlagRequired ("source" )
182
184
syncCmd .MarkFlagRequired ("targets" )
183
185
184
- syncCmd .Flags ().StringP ("mutableTags" , "m" , "" , "Mutable tags" )
186
+ syncCmd .Flags ().StringSliceP ("mutableTags" , "m" , [] string {} , "Mutable tags" )
185
187
186
188
syncCmd .Flags ().StringP ("ecr-region" , "" , os .Getenv ("AWS_REGION" ), "AWS region for ECR" )
187
189
You can’t perform that action at this time.
0 commit comments