fix!: update pullPolicy default value to IF_NOT_PRESENT (#8170)

This commit is contained in:
Mathieu Gabelle
2025-04-01 11:24:59 +02:00
committed by GitHub
parent 58ae507e21
commit d6e470d788
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ public class DockerOptions {
protected List<String> volumes;
@Builder.Default
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.ALWAYS);
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.IF_NOT_PRESENT);
@Schema(
title = "A list of device requests to be sent to device drivers."

View File

@@ -245,7 +245,7 @@ public class Docker extends TaskRunner<Docker.DockerTaskRunnerDetailResult> {
even if an image with the same tag already exists."""
)
@Builder.Default
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.ALWAYS);
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.IF_NOT_PRESENT);
@Schema(
title = "A list of device requests to be sent to device drivers."