Skip to content

Commit

Permalink
Use in
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Dec 3, 2023
1 parent 4032c03 commit 76c297b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oioi/cdk/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export class Oioi extends Construct {

const imageUri = (() => {
const image = props.image;
if (image instanceof cdk.aws_ecr_assets.DockerImageAsset) {
// I Have no idea why instanceof cdk.aws_ecr_assets.DockerImageAsset is not working
if ("imageUri" in image) {
const account = image.imageUri.split(".")[0].split("/")[0];
const region = image.imageUri.split(".")[3];
const repository = image.imageUri.split("/")[1];
Expand Down

0 comments on commit 76c297b

Please sign in to comment.