From c2d6ee096fc55a93047b91afa31a42e392084a5c Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Mon, 29 Aug 2016 02:27:06 -0700 Subject: [PATCH] Update plugin.go --- plugin.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugin.go b/plugin.go index ce784d1..89fd7fd 100644 --- a/plugin.go +++ b/plugin.go @@ -58,12 +58,6 @@ type ( // Exec executes the plugin step 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, p.Login.Registry) { - p.Build.Repo = p.Login.Registry + "/" + p.Build.Repo - } // TODO execute code remove dangling images // this is problematic because we are running docker in scratch which does