Skip to content

Commit 2d37444

Browse files
committed
Remove build container after run
Keeping these containers around indefinitely uses up too much disk space. We already have the logs in github and we rarely if ever need the container around for any purpose like debugging.
1 parent 25bc523 commit 2d37444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ EOM
2020

2121
curl -v -sS -w '\n%{http_code}' \
2222
--data-binary "$JSON_BODY" \
23-
"https://api.conjob.io/job/run?image=$IMAGE_NAME" \
23+
"https://api.conjob.io/job/run?image=$IMAGE_NAME&remove=true" \
2424
| tee /tmp/foo \
2525
| sed '$d' && \
2626
[ "$(tail -1 /tmp/foo)" -eq 200 ]

0 commit comments

Comments
 (0)