mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-26 05:30:39 +00:00
fix issue trimming repo string
This commit is contained in:
parent
af4a2586ce
commit
69c4be48ec
@ -55,9 +55,9 @@ func main() {
|
||||
}
|
||||
|
||||
if create {
|
||||
err = ensureRepoExists(svc, strings.TrimPrefix(repo, registry))
|
||||
err = ensureRepoExists(svc, strings.SplitN(repo, "/", 2)[1])
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
log.Fatal(fmt.Sprintf("error creating ECR repo: %v", err))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user