ci: Fix ghostscript
This commit is contained in:
parent
7b3bd5fee8
commit
0c8e10f043
1 changed files with 4 additions and 0 deletions
4
.github/workflows/deploy.yaml
vendored
4
.github/workflows/deploy.yaml
vendored
|
@ -16,6 +16,10 @@ jobs:
|
|||
with:
|
||||
go-version: 1.21
|
||||
|
||||
- name: Patch ghostsccript thanks to CVE-2018-16509
|
||||
run: |
|
||||
sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||
|
|
Loading…
Add table
Reference in a new issue