diff --git a/install.sh b/install.sh index 20cfe54..a2e1f7c 100755 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ if [ -x "$(command -v hadolint)" ]; then INSTALLED_VERSION=$(hadolint --version | cut -d " " -f 4 2>&1) echo "::debug::Found existing Hadolint version: ${INSTALLED_VERSION}" if [ "${INSTALLED_VERSION}" != "${VERSION}" ]; then - echo "::debug::Hadolint version (${INSTALLED_VERSION}) does not match requested version (${VERSION})" + echo "::info::Hadolint version (${INSTALLED_VERSION}) does not match requested version (${VERSION})" DOWNLOAD="true" fi else @@ -29,7 +29,7 @@ if [ "${DOWNLOAD}" == "true" ]; then echo "::debug::Downloading Hadolint ${VERSION}" # https://github.com/actions/runner-images/issues/3727 # /usr/local/bin exists and is writable by any user - curl -L --fail -w "1" -o /tmp/hadolint \ + curl -s -L --fail -w 1 -o /tmp/hadolint \ "https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64" || echo "::error::Hadolint (version: ${VERSION}) could not be found. Exiting." && exit 1 mv /tmp/hadolint /usr/local/bin/hadolint