Skip to content

Commit

Permalink
fix: using wrong argument when building ECR repository (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin authored Apr 20, 2023
1 parent a7348d0 commit 0c102f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/ecr/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func EnsureRepositoryExistsFunc(registryAddress, ecrLifecyclePolicy string) func

// if destRegistry has a urlPath prepend it when creating the repository
if _, urlPath, found := strings.Cut(destRegistry, "/"); found && len(urlPath) > 0 {
repositoryName = path.Join(urlPath, destRegistry)
repositoryName = path.Join(urlPath, repositoryName)
}

// Using the Config value, create the S3 client
Expand Down

0 comments on commit 0c102f3

Please sign in to comment.