had to uninstall shellcheck with apt to get fixed version 0.7.1

This commit is contained in:
Georg Lauterbach 2020-09-08 20:18:43 +02:00
parent 286b53c9d5
commit 4096c782cf
No known key found for this signature in database
GPG key ID: 386D76E7AD496709

View file

@ -22,6 +22,7 @@ services:
before_install:
- sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint
- sudo chmod +rx /usr/local/bin/hadolint
- sudo apt-get -y remove shellcheck
- sudo wget -qO- "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJv
- sudo cp "shellcheck-v${SHELLCHECK_VERSION}/shellcheck" /usr/bin/