Skip to content

fix: install jq 1.7.1 to support arm64 runners (#106)#107

Merged
Igor Rodionov (goruha) merged 8 commits into
mainfrom
fix/arm64-jq-install
Jul 20, 2026
Merged

fix: install jq 1.7.1 to support arm64 runners (#106)#107
Igor Rodionov (goruha) merged 8 commits into
mainfrom
fix/arm64-jq-install

Conversation

@goruha

@goruha Igor Rodionov (goruha) commented Jul 20, 2026

Copy link
Copy Markdown
Member

what

  • Bumps the pinned jq version installed by dcarbone/install-jq-action@v3.2.0 from 1.6 to 1.7.1.
  • Set default value drive-opt from image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 to image=mirror.gcr.io/moby/buildkit:buildx-stable-1

why

This action fails on arm64 GitHub-hosted / self-hosted runners with:

Cannot handle "ARM64" architecture for os "Linux"
Error: Process completed with exit code 1.

Root cause: 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. This is because jq 1.6 (published under stedolan/jq) never shipped a linux-arm64 release asset — arm64 support only arrived with jq 1.7 (published under jqlang/jq), which does publish a jq-linux-arm64 asset.

dcarbone/install-jq-action already added arm64 support for jq 1.7+ via scripts/unixish-17.sh — this action just needs to request a 1.7+ version to use that code path. 1.7.1 is used here (rather than plain 1.7) because it's the patch release fixing known regressions in the initial 1.7 release, and it matches install-jq-action's own default version input.

Resolves #68.

  • Solved docker startup too many requests problem

references

Jon Beilke (@jrbeilke) author

Jon Beilke (jrbeilke) and others added 8 commits July 20, 2026 13:42
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
@goruha
Igor Rodionov (goruha) merged commit 70496f8 into main Jul 20, 2026
18 checks passed
@goruha
Igor Rodionov (goruha) deleted the fix/arm64-jq-install branch July 20, 2026 17:04
@github-actions

Copy link
Copy Markdown

These changes were released in v3.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails on arm64 runners

3 participants