From 7ae5555191e180a57c7696ef69eed064bd4ed97e Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Sun, 14 Sep 2025 23:14:27 +0200 Subject: [PATCH] fixingf the build process --- .gitea/workflows/main.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index a22aa3e0..1131705a 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -19,14 +19,15 @@ jobs: password: ${{ secrets.TOKEN }} - name: Generate Static Image Assets - uses: add-actions/run-in-container@v1 - with: - image: archlinux:latest - run: | - pacman -Syu --noconfirm imagemagick webp ghostscript - chmod +x ./scripts/*.sh - bash ./scripts/first_page_image.sh - bash ./scripts/generate_webp.sh + run: | + docker run --rm \ + -v "${PWD}":"/work" \ + -w "/work" \ + archlinux:latest \ + sh -c "pacman -Syu --noconfirm imagemagick webp ghostscript && \ + chmod +x ./scripts/*.sh && \ + bash ./scripts/first_page_image.sh && \ + bash ./scripts/generate_webp.sh" - name: Set up Node.js uses: actions/setup-node@v4