This commit is contained in:
parent
8c52faefdd
commit
46baa5dd0a
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -18,11 +19,11 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
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
|
- name: Patch ghostsccript thanks to CVE-2018-16509
|
||||||
run: |
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue