From 56c7686e37b7947bed36d0377a665c21248f5cd8 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Wed, 4 Feb 2026 16:59:44 -0800 Subject: [PATCH 1/2] repo: gitea: workflows: dfi: impl: force remove `dfi` images As a result of the `backup` action, images were not actually removed: "image is referenced in multiple repositories" --- .gitea/workflows/dfi.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/dfi.bash b/.gitea/workflows/dfi.bash index 1ec90b6..0636007 100755 --- a/.gitea/workflows/dfi.bash +++ b/.gitea/workflows/dfi.bash @@ -41,9 +41,9 @@ function host::clean() || echo "No docker-finance containers found" # Remove all images not in use - local -r _images=("$(docker images -aq)") + local -r _images=("$(docker images -a --format=table | grep docker-finance | gawk '{print $3}' | sort -u)") while read _line; do - docker image rm "$_line" || continue + docker image rm -f "$_line" || continue done < <(echo "${_images[@]}") # Remove all leftovers From c5d2a9e530bad53cddc2e9443ecc3a83d773f4a5 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Wed, 4 Feb 2026 17:00:58 -0800 Subject: [PATCH 2/2] repo: gitea: workflows: dfi: impl: add paths to remove (host::clean) - Host's (guest VM's) `act_runner` does not use (nor create) ${HOME}/.config for any other purpose other than for `dfi`'s docker-finance.d - ${HOME}/.docker is removed to keep a clean workspace --- .gitea/workflows/dfi.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/dfi.bash b/.gitea/workflows/dfi.bash index 0636007..4f6e5f3 100755 --- a/.gitea/workflows/dfi.bash +++ b/.gitea/workflows/dfi.bash @@ -53,7 +53,8 @@ function host::clean() # Remove default `dfi` layout local _paths _paths+=(".bashrc") - _paths+=(".config/docker-finance.d") + _paths+=(".config") + _paths+=(".docker") _paths+=("docker-finance") _paths+=("finance-flow") _paths+=("plugins")