fix: install jq 1.7.1 to support arm64 runners (#106)#107
Merged
Conversation
fix: use jq 1.7.1 to support arm64 runners dcarbone/install-jq-action@v3.2.0 routes jq 1.5/1.6 installs through scripts/unixish.sh, which only maps Linux binaries for 386/amd64 since jq 1.6 (stedolan/jq) never published a linux-arm64 release asset. This causes this action to fail on arm64 runners with: Cannot handle "ARM64" architecture for os "Linux" dcarbone/install-jq-action added arm64 support starting with jq 1.7, routed through scripts/unixish-17.sh (jqlang/jq releases, which do publish jq-linux-arm64). Bumping the pinned jq version to 1.7.1 (the installer action's own default) fixes arm64 support without changing the installer action version. Fixes #68
Erik Osterman (Cloud Posse) (osterman)
approved these changes
Jul 20, 2026
|
These changes were released in v3.1.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
jqversion installed bydcarbone/install-jq-action@v3.2.0from1.6to1.7.1.drive-optfromimage=public.ecr.aws/vend/moby/buildkit:buildx-stable-1toimage=mirror.gcr.io/moby/buildkit:buildx-stable-1why
This action fails on arm64 GitHub-hosted / self-hosted runners with:
Root cause:
dcarbone/install-jq-action@v3.2.0routesjq1.5/1.6 installs throughscripts/unixish.sh, which only maps Linux binaries for386/amd64. This is becausejq1.6 (published understedolan/jq) never shipped alinux-arm64release asset — arm64 support only arrived withjq1.7 (published underjqlang/jq), which does publish ajq-linux-arm64asset.dcarbone/install-jq-actionalready added arm64 support forjq1.7+ viascripts/unixish-17.sh— this action just needs to request a 1.7+ version to use that code path.1.7.1is used here (rather than plain1.7) because it's the patch release fixing known regressions in the initial1.7release, and it matchesinstall-jq-action's own defaultversioninput.Resolves #68.
too many requestsproblemreferences
startsWith(inputs.version, '1.7')→unixish-17.sh)jq-linux-arm64)Jon Beilke (@jrbeilke) author