Skip to content

Commit 6c58ba1

Browse files
danxie1999Dan Xie
authored and
Dan Xie
committed
fix: repository_name in image property of the codebuild provider
1 parent 51f6936 commit 6c58ba1

File tree

1 file changed

+1
-1
lines changed
  • src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs

1 file changed

+1
-1
lines changed

src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def determine_build_image(codebuild_id, scope, target, map_params):
380380
if repository_name:
381381
repository_arn = (
382382
f"arn:aws:ecr:{ADF_DEPLOYMENT_REGION}:"
383-
f"{ADF_DEPLOYMENT_ACCOUNT_ID}:{repository_name}"
383+
f"{ADF_DEPLOYMENT_ACCOUNT_ID}:repository/{repository_name}"
384384
)
385385

386386
ecr_repo = _ecr.Repository.from_repository_arn(

0 commit comments

Comments
 (0)