Skip to content

Commit 1e73e8f

Browse files
committed
Fix “docker rmi“ failure
1 parent c9bc783 commit 1e73e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/io/github/gitbucket/ci/manager/BuildJobThread.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class BuildJobThread(queue: LinkedBlockingQueue[BuildJob], threads: LinkedBlocki
267267
sb.append(s"${runContainerCommand}\n")
268268
val exitCode = runProcess(job, buildDir, workspaceDir, runContainerCommand)
269269

270-
val imageId = Process(s"""${dockerCommand} images --format "{{.ID}}" ${tagName}""").!!.stripLineEnd
270+
val imageId = Process(s"""${dockerCommand} images --format {{.ID}} ${tagName}""").!!.stripLineEnd
271271
val rmImageCommand = s"${dockerCommand} rmi --force ${imageId}"
272272
sb.append(s"$rmImageCommand\n")
273273
runProcess(job, buildDir, workspaceDir, rmImageCommand)

0 commit comments

Comments
 (0)