fix docker-lint workflow

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-19 10:25:23 +02:00
parent 774d10931f
commit 6f517955d4

View file

@ -32,10 +32,10 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install nodejs npm -y --no-install-recommends sudo apt-get install nodejs npm -y --no-install-recommends
npm install -g dockerfilelint npm install -g dockerfilelint
wget https://github.com/replicatedhq/dockerfilelint/pull/184.patch -O /usr/local/lib/node_modules/dockerfilelint/184.patch wget https://github.com/replicatedhq/dockerfilelint/pull/201.patch -O /usr/local/lib/node_modules/dockerfilelint/201.patch
CURRENT_DIR=$PWD CURRENT_DIR=$PWD
cd /usr/local/lib/node_modules/dockerfilelint/ cd /usr/local/lib/node_modules/dockerfilelint/
git apply 184.patch git apply 201.patch
cd $CURRENT_DIR cd $CURRENT_DIR
cat << RULES > ./.dockerfilelintrc cat << RULES > ./.dockerfilelintrc
rules: rules: