From a593508c9cee62821364ec67136a8055e9fac1df Mon Sep 17 00:00:00 2001 From: Michael Hermann Date: Fri, 20 Feb 2026 17:23:05 +0100 Subject: [PATCH] Fix: python:3.11-bookworm Container-Image explizit setzen --- .gitea/workflows/update-laws.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/update-laws.yaml b/.gitea/workflows/update-laws.yaml index de315dd4..d2ad8aa1 100644 --- a/.gitea/workflows/update-laws.yaml +++ b/.gitea/workflows/update-laws.yaml @@ -10,20 +10,16 @@ on: jobs: update: runs-on: ubuntu-latest + container: + image: python:3.11-bookworm steps: - name: Check environment run: | - echo "=== System Info ===" + echo "=== System ===" uname -a - echo "=== Python ===" python3 --version - echo "=== Pip ===" - pip3 --version || pip --version || echo "pip nicht gefunden" - echo "=== Git ===" + pip --version git --version - echo "=== Welche Shell ===" - echo $SHELL - which python3 pip3 git - name: Configure Git run: | @@ -39,9 +35,6 @@ jobs: - name: Install Python dependencies run: | - pip3 install --break-system-packages -r requirements.txt || \ - pip install --break-system-packages -r requirements.txt || \ - pip3 install -r requirements.txt || \ pip install -r requirements.txt - name: Run update script