Skip to content

Commit

Permalink
Support ecr pull
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Dec 3, 2023
1 parent 80acf29 commit 2678126
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions oioi/cdk/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ docker login --username AWS --password-stdin public.ecr.aws
actions: [
"ecr-public:GetAuthorizationToken",
"ecr:GetAuthorizationToken",
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability",
"ecr:GetDownloadUrlForLayer",
"sts:GetServiceBearerToken",
],
resources: ["*"],
}),
new cdk.aws_iam.PolicyStatement({
actions: ["sts:GetServiceBearerToken"],
resources: ["*"],
}),
],
}),
},
Expand Down

0 comments on commit 2678126

Please sign in to comment.