|
|
@ -84,8 +84,9 @@ public class BuildRequest {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public BuildRequest withBuilder(ImageReference builder) {
|
|
|
|
public BuildRequest withBuilder(ImageReference builder) {
|
|
|
|
Assert.notNull(builder, "Builder must not be null");
|
|
|
|
Assert.notNull(builder, "Builder must not be null");
|
|
|
|
return new BuildRequest(this.name, this.applicationContent, builder.inTaggedForm(), this.creator, this.env,
|
|
|
|
builder = (builder.getDigest() != null) ? builder : builder.inTaggedForm();
|
|
|
|
this.cleanCache, this.verboseLogging);
|
|
|
|
return new BuildRequest(this.name, this.applicationContent, builder, this.creator, this.env, this.cleanCache,
|
|
|
|
|
|
|
|
this.verboseLogging);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|