Skip to content

Commit

Permalink
feat: add support for ARM64 (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvcsantos authored Feb 3, 2025
1 parent 86131b6 commit 48e0d14
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.s
echo '::endgroup::'

echo '::group:: Installing hadolint ... https://github.com/hadolint/hadolint'
wget -q https://github.com/hadolint/hadolint/releases/download/$HADOLINT_VERSION/hadolint-Linux-x86_64 -O $TEMP_PATH/hadolint \
HADOLINT_FILE="hadolint-Linux-x86_64"

if [ "$RUNNER_ARCH" = "ARM64" ]; then
HADOLINT_FILE="hadolint-Linux-arm64"
fi

wget -q "https://github.com/hadolint/hadolint/releases/download/$HADOLINT_VERSION/$HADOLINT_FILE" -O $TEMP_PATH/hadolint \
&& chmod +x $TEMP_PATH/hadolint
echo '::endgroup::'

Expand Down

0 comments on commit 48e0d14

Please sign in to comment.