Skip to content

Commit 2679a09

Browse files
authored
Update runner_controller.go
1 parent 8b29498 commit 2679a09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/runner_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ func (r *RunnerReconciler) buildBuilderContainer(runner *garV1.Runner) v1.Contai
155155
"--dockerfile=Dockerfile",
156156
"--context=dir:///workspace",
157157
"--cache=true",
158+
"--cleanup=true",
158159
fmt.Sprintf("--destination=%s/%s", r.PushRegistryHost, r.buildRepositoryName(runner)),
159160
},
160161
ImagePullPolicy: v1.PullIfNotPresent,

0 commit comments

Comments
 (0)