From 0c8e10f04316fec07397b1d87e7a8e5a317ded34 Mon Sep 17 00:00:00 2001 From: fleaz Date: Wed, 22 May 2024 23:45:47 +0200 Subject: [PATCH] ci: Fix ghostscript --- .github/workflows/deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0216d17..ff35f7e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -16,6 +16,10 @@ jobs: with: go-version: 1.21 + - name: Patch ghostsccript thanks to CVE-2018-16509 + run: | + sed -i '$i' /etc/ImageMagick-6/policy.xml + - name: Build run: | sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev