volumes property

List<Volume>? volumes
getter/setter pair

List of volumes to mount into the build step.

Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.

Implementation

core.List<Volume>? volumes;