Update plugin.go

This commit is contained in:
Brad Rydzewski 2016-08-29 02:27:06 -07:00 committed by GitHub
parent 47fb17c239
commit c2d6ee096f

View File

@ -58,12 +58,6 @@ type (
// Exec executes the plugin step // Exec executes the plugin step
func (p Plugin) Exec() error { 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 // TODO execute code remove dangling images
// this is problematic because we are running docker in scratch which does // this is problematic because we are running docker in scratch which does