From 1a5bd83c1e9ba8e7e1e963db96c9bc9b99dfae79 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 11 Jan 2025 18:23:57 +0000 Subject: [PATCH] build: clear previous version from cache --- .forgejo/workflows/build-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index f3c267b..2ddc177 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -11,6 +11,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Clear image from cache + run: | + docker rmi git.kemitix.net/kemitix/rust:latest + docker system prune --force --all + - name: Build run: docker build . -t git.kemitix.net/kemitix/rust:latest