This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new b8db2477 YETUS-1178. docker buildx cache clearing (#323)
b8db2477 is described below
commit b8db2477f8bb286f19e185d6b9e8cfd5ad0333c3
Author: Allen Wittenauer <[email protected]>
AuthorDate: Tue Sep 12 07:38:32 2023 -0700
YETUS-1178. docker buildx cache clearing (#323)
Signed-off-by: Nick Dimiduk <[email protected]>
---
precommit/src/main/shell/core.d/docker.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/precommit/src/main/shell/core.d/docker.sh
b/precommit/src/main/shell/core.d/docker.sh
index a6edb2c2..fa518e94 100755
--- a/precommit/src/main/shell/core.d/docker.sh
+++ b/precommit/src/main/shell/core.d/docker.sh
@@ -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"
}