Update plugin.go
This commit is contained in:
parent
47fb17c239
commit
c2d6ee096f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user