Commit a5c42ce4 authored by Scott Frederick's avatar Scott Frederick

Polish `Add gradle build image command line example`

See gh-21490
parent 88a32d2f
...@@ -96,6 +96,13 @@ include::../gradle/packaging/boot-build-image-builder.gradle.kts[tags=builder] ...@@ -96,6 +96,13 @@ include::../gradle/packaging/boot-build-image-builder.gradle.kts[tags=builder]
This configuration will use a builder image with the name `mine/java-cnb-builder` and the tag `latest`. This configuration will use a builder image with the name `mine/java-cnb-builder` and the tag `latest`.
The builder can be specified on the command line as well, as shown in this example:
[indent=0]
----
$ gradle bootBuildImage --builder=mine/java-cnb-builder
----
[[build-image-example-builder-configuration]] [[build-image-example-builder-configuration]]
...@@ -157,5 +164,5 @@ The image name can be specified on the command line as well, as shown in this ex ...@@ -157,5 +164,5 @@ The image name can be specified on the command line as well, as shown in this ex
[indent=0] [indent=0]
---- ----
$ gradle bootBuildImage --imageName=example.com/library/v1 $ gradle bootBuildImage --imageName=example.com/library/my-app:v1
---- ----
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment