From 70e801e03c2e4ecb1e15d9f9e2b6d65e2596d9d3 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 12 Jan 2025 11:18:19 +0000 Subject: [PATCH] build: handle removing existing images when there are none --- .forgejo/workflows/build-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index 2ddc177..18041ad 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -13,7 +13,7 @@ jobs: - name: Clear image from cache run: | - docker rmi git.kemitix.net/kemitix/rust:latest + docker images git.kemitix.net/kemitix/rust -q | sort -u | xargs docker rmi docker system prune --force --all - name: Build