Skip to content

Commit

Permalink
Update .buildkite/hooks/post-checkout
Browse files Browse the repository at this point in the history
Co-authored-by: Trent Nelson <[email protected]>
  • Loading branch information
yihau and t-nelson authored Jun 27, 2023
1 parent 02b9720 commit 81a365a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .buildkite/hooks/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ source ci/env.sh
(
echo "+++ Killing stale docker containers"
while read -r line; do
id="$(echo "$line" | awk '{print $1}')"
image="$(echo "$line" | awk '{print $2}')"
read id image _ <<<"$line"

if [[ $image == *"solanalabs/rust"* ]]; then
if docker kill "$id" >/dev/null; then
Expand Down

0 comments on commit 81a365a

Please sign in to comment.