Add support for build workspace option when building images
Closes gh-37478
This commit is contained in:
@@ -24,6 +24,11 @@
|
||||
<configuration>
|
||||
<image>
|
||||
<builder>projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.2</builder>
|
||||
<buildWorkspace>
|
||||
<bind>
|
||||
<source>${java.io.tmpdir}/junit-image-cache-${test-build-id}-work</source>
|
||||
</bind>
|
||||
</buildWorkspace>
|
||||
<buildCache>
|
||||
<bind>
|
||||
<source>${java.io.tmpdir}/junit-image-cache-${test-build-id}-build</source>
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
<configuration>
|
||||
<image>
|
||||
<builder>projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.2</builder>
|
||||
<buildWorkspace>
|
||||
<volume>
|
||||
<name>cache-${test-build-id}.work</name>
|
||||
</volume>
|
||||
</buildWorkspace>
|
||||
<buildCache>
|
||||
<volume>
|
||||
<name>cache-${test-build-id}.build</name>
|
||||
|
||||
Reference in New Issue
Block a user