Skip to content

Commit e031076

Browse files
committed
bk: skip removing images from hook
Signed-off-by: Ivo Jimenez <ivo.jimenez@gmail.com>
1 parent c24785b commit e031076

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.buildkite/hooks/post-checkout

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set +e
55

66
if [[ $BUILDKITE_AGENT_META_DATA_QUEUE == "pipeline-uploader" ]]; then
7-
echo "Skipping on `pipeline-uploader` agents"
7+
echo "Skipping on 'pipeline-uploader' agents"
88
exit 0
99
fi
1010

@@ -14,4 +14,6 @@ for id in $(docker ps --quiet); do
1414
docker kill $id
1515
done
1616

17-
docker system prune --all --volumes --force
17+
docker container prune --force
18+
docker volume prune --force
19+
docker network prune --force

0 commit comments

Comments
 (0)