Skip to content

Commit

Permalink
Revert "Revert "Ensure the resource name uses the uniquely generated …
Browse files Browse the repository at this point in the history
…name to avoid conflicts (#1126)" (#1141)" (#1145)

This reverts commit af69664.

Revive PR #1126 since it was actually sound. The hard-coded image name
was only introduced in v2.
  • Loading branch information
thomas11 committed Nov 2, 2023
1 parent 67ceb94 commit 5a6d381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awsx/ecr/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function computeImageFromAsset(
registry: registryCredentials,
};

const image = new docker.Image(`image`, dockerImageArgs, { parent });
const image = new docker.Image(imageName, dockerImageArgs, { parent });

image.repoDigest.apply((d: any) =>
pulumi.log.debug(` build complete: ${imageName} (${d})`, parent),
Expand Down

0 comments on commit 5a6d381

Please sign in to comment.