Skip to content

Commit 483bd45

Browse files
committed
changed cleaner prune filter
1 parent de37a4f commit 483bd45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleaner/cleaner-agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ do
9595
echo "$0: CLEANER_AGENT: NEEED TO PURGE - purging all images created more than 3h ago"
9696
display_df
9797
lock_file
98-
docker image prune -a --force --filter "until=3h" --filter "label!=io.codefresh.repo.name=images"
98+
docker image prune -a --force --filter "until=3h" --filter "label!=io.codefresh.engine=true"
9999
(( CLEANER_AGENT_ACTIONS_PURGES ++ ))
100100
echo "$0: CLEANER_AGENT_ACTIONS_PURGES=$CLEANER_AGENT_ACTIONS_PURGES, updating metric file ${CLEANER_AGENT_ACTIONS_PURGES_FILE}"
101101
echo $CLEANER_AGENT_ACTIONS_PURGES > ${CLEANER_AGENT_ACTIONS_PURGES_FILE}

0 commit comments

Comments
 (0)