Update .gitlab-ci.yml

This commit is contained in:
Fifo F. 2024-07-13 06:55:40 +00:00
parent 0c5d65f224
commit c4b92a1399

View file

@ -21,6 +21,7 @@ build:
apk add --no-cache curl
curl -sSfL https://raw.githubusercontent.com/overleaf/toolkit/master/lib/config-seed/version -o version.txt
OVERLEAF_VERSION=$(cat version.txt)
echo "Image version: $OVERLEAF_VERSION"
docker pull sharelatex/sharelatex:latest
docker run --name temp --entrypoint /bin/bash sharelatex/sharelatex:latest -c "tlmgr option repository $TEXLIVE_REPO && tlmgr update --self --all && tlmgr install scheme-full"
docker commit --change "ENTRYPOINT $IMAGE_ENTRYPOINT" temp $IMAGE_NAME:$OVERLEAF_VERSION