fix some workflows

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-06 10:30:32 +02:00
parent 3caec56d93
commit 71e77c2147
2 changed files with 4 additions and 2 deletions

View file

@ -29,7 +29,8 @@ jobs:
- name: Install npm and dockerfilelint
run: |
sudo apt-get install nodejs npm -y
sudo apt-get update
sudo apt-get install nodejs npm -y --no-install-recommends
npm install -g dockerfilelint
wget https://github.com/replicatedhq/dockerfilelint/pull/184.patch -O /usr/local/lib/node_modules/dockerfilelint/184.patch
CURRENT_DIR=$PWD

View file

@ -19,6 +19,7 @@ jobs:
uses: actions/checkout@v3
- name: Validate Json
run: |
sudo apt-get install python3-pip --no-install-recommends
sudo apt-get update
sudo apt-get install python3-pip -y --no-install-recommends
sudo pip3 install json-spec
json validate --schema-file=php/containers-schema.json --document-file=php/containers.json