From b7251030955140b9771841718147d71de7a143a3 Mon Sep 17 00:00:00 2001 From: wohenbushuang Date: Fri, 5 Apr 2024 04:18:04 +0000 Subject: [PATCH] ci(Dockerfile): try to fix --- .github/workflows/docker-publish.yml | 4 ++++ Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 2f7d7b5..9143ec1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -15,6 +15,10 @@ on: pull_request: branches: [ "main" ] workflow_dispatch: + inputs: + version: + description: "Version of the docker image to be tagged as latest" + required: true env: # Use docker.io for Docker Hub if empty diff --git a/Dockerfile b/Dockerfile index ca872f3..2891824 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ WORKDIR /tmp RUN wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ && zcat < install-tl-unx.tar.gz | tar xf - \ && cd install-tl-2* \ - sudo retry 3 perl ./install-tl -scheme=${SCHEME} --no-interaction + sudo perl ./install-tl -scheme=${SCHEME} --no-interaction RUN YEAR=$(ls -d /usr/local/texlive/2* | sed -e 's/.*[/]//g') \ && echo MANPATH=/usr/local/texlive/$YEAR/texmf-dist/doc/man:$MANPATH >> ~/.profile \