Skip to content

Commit

Permalink
Don't add docker.io prefix to ECR images (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
der-eismann authored Feb 15, 2023
1 parent 66a554d commit 7c03c8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function getFullDockerImageName(image: string): string {
case 1:
return `${DOCKER_IO_NAMESPACED}/${image}`;
case 2:
if (image.includes("amazonaws.com")) return image;
return `${DOCKER_IO}/${image}`;
default:
return image;
Expand Down

0 comments on commit 7c03c8a

Please sign in to comment.