ci: Fix image and remove sudo
Some checks failed
Deployment / build (push) Failing after 1m36s

This commit is contained in:
fleaz 2025-03-16 02:08:50 +01:00
parent 8c52faefdd
commit 46baa5dd0a

View file

@ -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<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
- name: Build
run: |