Simplify support for pushing images to unauthenticated registries
This commit removes the requirement that `docker.publishRegistry` configuration must be provided when an image is published by the Gradle or Maven plugin. Fixes gh-28844
This commit is contained in:
@@ -338,7 +338,10 @@ An OCI image containing a https://buildpacks.io/docs/buildpack-author-guide/pack
|
||||
|
||||
[[build-image.examples.publish]]
|
||||
=== Image Publishing
|
||||
The generated image can be published to a Docker registry by enabling a `publish` option and configuring authentication for the registry using `docker.publishRegistry` parameters.
|
||||
The generated image can be published to a Docker registry by enabling a `publish` option.
|
||||
|
||||
If the Docker registry requires authentication, the credentials can be configured using `docker.publishRegistry` parameters.
|
||||
If the Docker registry does not require authentication, the `docker.publishRegistry` configuration can be omitted.
|
||||
|
||||
[source,xml,indent=0,subs="verbatim,attributes",tabsize=4]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user