mirror of
https://git.fifo-f.eu/tex-projects/docker-images.git
synced 2025-04-18 12:48:19 +02:00
Update .gitea/workflows/ci.yml
Signed-off-by: Fifo F <fifo@fifo-f.eu>
This commit is contained in:
parent
fe6d5bcaa4
commit
d783e4f715
1 changed files with 9 additions and 2 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue