From 46baa5dd0af364478097be30516f93256071c398 Mon Sep 17 00:00:00 2001 From: fleaz Date: Sun, 16 Mar 2025 02:08:50 +0100 Subject: [PATCH] ci: Fix image and remove sudo --- .forgejo/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 1b9d1c0..195f778 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -8,6 +8,7 @@ on: jobs: build: runs-on: docker + container: catthehacker/ubuntu:act-latest steps: - uses: actions/checkout@v3 @@ -18,11 +19,11 @@ jobs: - name: Install dependencies run: | - sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev + apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev - name: Patch ghostsccript thanks to CVE-2018-16509 run: | - sudo sed -i '$i' /etc/ImageMagick-6/policy.xml + sed -i '$i' /etc/ImageMagick-6/policy.xml - name: Build run: |