Merge branch '2.6.x' into 2.7.x
Closes gh-31824
This commit is contained in:
@@ -102,4 +102,9 @@ public final class DockerConfiguration {
|
||||
new DockerRegistryUserAuthentication(username, password, url, email), this.bindHostToBuilder);
|
||||
}
|
||||
|
||||
public DockerConfiguration withEmptyPublishRegistryAuthentication() {
|
||||
return new DockerConfiguration(this.host, this.builderAuthentication,
|
||||
new DockerRegistryUserAuthentication("", "", "", ""));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user