Update .gitea/workflows/ci.yml

Signed-off-by: Fifo F <fifo@fifo-f.eu>
This commit is contained in:
Fifo F. 2024-10-25 11:43:46 +02:00
parent fe6d5bcaa4
commit d783e4f715
Signed by: fifo
GPG key ID: A19A205B0C863808

View file

@ -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
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