File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ def load_release_file() -> Dict:
46
46
return json .load (release )
47
47
48
48
49
-
50
49
def build_tests_image (build_configuration : BuildConfiguration ):
51
50
"""
52
51
Builds image used to run tests.
@@ -236,15 +235,15 @@ def build_image(
236
235
237
236
# merge in the registry without mutating caller's dict
238
237
build_args = {** args_list , "quay_registry" : registry }
239
-
238
+
240
239
if build_args :
241
240
span .set_attribute ("mck.build_args" , str (build_args ))
242
-
241
+
243
242
logger .info (f"Building { image_name } , dockerfile args: { build_args } " )
244
243
logger .debug (f"Build args: { build_args } " )
245
244
logger .debug (f"Building { image_name } for platforms={ build_configuration .platforms } " )
246
245
logger .debug (f"build image generic - registry={ registry } " )
247
-
246
+
248
247
# Build docker registry URI and call build_image
249
248
docker_registry = f"{ build_configuration .base_registry } /{ image_name } "
250
249
image_full_uri = f"{ docker_registry } :{ build_configuration .version } "
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ def execute_docker_build(
84
84
"""
85
85
# Login to ECR before building
86
86
ecr_login_boto3 (region = "us-east-1" , account_id = "268558157000" )
87
-
87
+
88
88
docker = python_on_whales .docker
89
89
90
90
try :
@@ -126,5 +126,3 @@ def execute_docker_build(
126
126
except Exception as e :
127
127
logger .error (f"Failed to build image { tag } : { e } " )
128
128
raise RuntimeError (f"Failed to build image { tag } : { str (e )} " )
129
-
130
-
You can’t perform that action at this time.
0 commit comments