Merge branch '2.6.x' into 2.7.x

Closes gh-31824
This commit is contained in:
Scott Frederick
2022-07-20 15:10:43 -05:00
14 changed files with 43 additions and 68 deletions

View File

@@ -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("", "", "", ""));
}
}