Skip to content

Commit

Permalink
YETUS-1178. docker buildx cache clearing (#323)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Dimiduk <[email protected]>
  • Loading branch information
aw-was-here authored Sep 12, 2023
1 parent 008c7bc commit b8db247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions precommit/src/main/shell/core.d/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ function docker_image_maintenance
echo "Other images:"
#shellcheck disable=SC2046
docker_image_maintenance_helper $(docker_get_sentinel_images)

echo "docker buildx cache"
dockercmd buildx prune --force --filter=until="${DOCKER_IMAGE_PURGE}s"
}


Expand Down

0 comments on commit b8db247

Please sign in to comment.