From 772040ae75be61cc4570b9bccb46393f3c674caa Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Fri, 21 Jul 2023 11:14:24 +0200 Subject: [PATCH] Pin docker image version --- .github/scripts/latex.sh | 8 +------- .github/workflows/ghpages.yml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/scripts/latex.sh b/.github/scripts/latex.sh index d8d039f5..0b0d9d7c 100755 --- a/.github/scripts/latex.sh +++ b/.github/scripts/latex.sh @@ -12,13 +12,7 @@ DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ cd $(dirname $0)/../../docs -which python3 - -python3 -m venv env -echo "==================================================================" -. env/bin/activate -echo "==================================================================" -pip3 install -r requirements.txt +pip3 install --user -r requirements.txt cd build/latex LATEXMKOPTS='-interaction=nonstopmode' make diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index 27c9727b..8429fbc5 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -18,7 +18,7 @@ jobs: with: args: ./.github/scripts/sphinx.sh - - uses: docker://btdi/latex + - uses: docker://btdi/latex@sha256:952296ef29fb1a42d0f939ca12fb6c6ea578e24168bc5a2bc7de5a2012fb48fe with: args: ./.github/scripts/latex.sh