Merge branch '2.7.x'

Closes gh-31825
This commit is contained in:
Scott Frederick
2022-07-20 15:11:30 -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("", "", "", ""));
}
}