repository registry credentials should take precedence over globals

This commit is contained in:
Brad Rydzewski
2020-03-24 14:29:22 -07:00
parent 5501f45d78
commit bdc7b6cacf

View File

@@ -330,7 +330,7 @@ func (c *Compiler) Compile(ctx context.Context, args runtime.CompilerArgs) runti
if ok {
parsed, err := auths.ParseString(secret)
if err == nil {
creds = append(creds, parsed...)
creds = append(parsed, creds...)
}
}
}