File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -78,27 +78,27 @@ def _build_image(
7878def _tag_image (
7979 tag : str ,
8080 new_tags : list [str ] | str ,
81- ) -> str :
81+ ) -> None :
8282 """Build a Docker image for the specified architecture.
8383
8484 Returns the tag of the built image.
8585 """
8686 if not isinstance (new_tags , list ):
8787 new_tags = [new_tags ]
8888
89- print ( f"Tagging image ' { tag } ' as: { ', ' . join ( new_tags ) } " )
90- docker_args = [
91- "docker" ,
92- "tag " ,
93- tag ,
94- * new_tags ,
95- ]
96- _ = subprocess . run (
97- docker_args ,
98- text = True ,
99- check = True ,
100- )
101- return tag
89+ for new_tag in new_tags :
90+ print ( f"Tagging image ' { tag } ' as: { new_tag } " )
91+ docker_args = [
92+ "docker " ,
93+ " tag" ,
94+ tag ,
95+ new_tag ,
96+ ]
97+ _ = subprocess . run (
98+ docker_args ,
99+ text = True ,
100+ check = True ,
101+ )
102102
103103
104104def build_connector_image (
You can’t perform that action at this time.
0 commit comments