mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-09 17:20:39 +00:00
fixed appending registry before the repo
This commit is contained in:
parent
7da2f28bf6
commit
cca6052fab
@ -61,7 +61,7 @@ func (p Plugin) Exec() error {
|
||||
// this code attempts to normalize the repository name by appending the fully
|
||||
// qualified registry name if otherwise omitted.
|
||||
if p.Login.Registry != defaultRegistry &&
|
||||
strings.HasPrefix(p.Build.Repo, defaultRegistry) {
|
||||
!strings.HasPrefix(p.Build.Repo, p.Login.Registry) {
|
||||
p.Build.Repo = p.Login.Registry + "/" + p.Build.Repo
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user