1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-05-06 21:49:33 +02:00

src: refactor cleanup logic to expose buildkitd.log

Previosuly, we only killed the buildkitd process and unmounted
if builderInfo was non null. This was wrong cause we could have setup
builkdkitd, but failed after that step. This would then rely on the last
ditch effort by the post action to cleanup. We now change the proc kill
and unmount to happen on any build error.
This commit is contained in:
Aditya Maru 2024-12-16 19:21:13 -05:00
parent 8d0da8c56b
commit 54bc4e0788
4 changed files with 41 additions and 37 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long