From d783e4f7158166993a23426e7ad2d015512878e8 Mon Sep 17 00:00:00 2001 From: Fifo F Date: Fri, 25 Oct 2024 11:43:46 +0200 Subject: [PATCH] Update .gitea/workflows/ci.yml Signed-off-by: Fifo F --- .gitea/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 101e7a5..1ad3195 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,6 +5,11 @@ jobs: build: runs-on: labels: ubuntu-latest-privileged + services: + docker: + image: docker:24.0.5-dind + options: >- + --privileged steps: - name: Remove existing container to avoid conflicts, if present run: | @@ -39,5 +44,7 @@ jobs: docker push ${{ vars.REGISTRY_HOST }}/tex-projects/sharelatex-with-texlive-full:latest - name: Clean up run: | - echo "Deleting temporary container" - docker rm -f temp \ No newline at end of file + echo "Cleaning up" + docker rm -f temp + docker rmi ${{ vars.REGISTRY_HOST }}/tex-projects/sharelatex-with-texlive-full:${OVERLEAF_VERSION} + docker rmi ${{ vars.REGISTRY_HOST }}/tex-projects/sharelatex-with-texlive-full:latest \ No newline at end of file